Tailwind purple-800: questions & answers
What is the HEX code of Tailwind purple-800?
Tailwind purple-800 is #6B21A8, which is rgb(107, 33, 168) or hsl(273, 67%, 39%).
How do I use purple-800 as a background in Tailwind?
Add the class bg-purple-800 to the element. Use text-purple-800 for text and border-purple-800 for borders.
What text color works on bg-purple-800?
purple-300 (#D8B4FE) is the closest shade of the same color with readable contrast (4.93:1). Plain white text gives 8.72:1.