Tailwind violet-600: questions & answers
What is the HEX code of Tailwind violet-600?
Tailwind violet-600 is #7C3AED, which is rgb(124, 58, 237) or hsl(262, 83%, 58%).
How do I use violet-600 as a background in Tailwind?
Add the class bg-violet-600 to the element. Use text-violet-600 for text and border-violet-600 for borders.
What text color works on bg-violet-600?
violet-100 (#EDE9FE) is the closest shade of the same color with readable contrast (4.8:1). Plain white text gives 5.7:1.