Tailwind violet-50: questions & answers
What is the HEX code of Tailwind violet-50?
Tailwind violet-50 is #F5F3FF, which is rgb(245, 243, 255) or hsl(250, 100%, 98%).
How do I use violet-50 as a background in Tailwind?
Add the class bg-violet-50 to the element. Use text-violet-50 for text and border-violet-50 for borders.
What text color works on bg-violet-50?
violet-600 (#7C3AED) is the closest shade of the same color with readable contrast (5.2:1). Plain black text gives 19.15:1.