Tailwind purple-600: questions & answers
What is the HEX code of Tailwind purple-600?
Tailwind purple-600 is #9333EA, which is rgb(147, 51, 234) or hsl(271, 81%, 56%).
How do I use purple-600 as a background in Tailwind?
Add the class bg-purple-600 to the element. Use text-purple-600 for text and border-purple-600 for borders.
What text color works on bg-purple-600?
purple-100 (#F3E8FF) is the closest shade of the same color with readable contrast (4.56:1). Plain white text gives 5.38:1.