Tailwind violet-800: questions & answers
What is the HEX code of Tailwind violet-800?
Tailwind violet-800 is #5B21B6, which is rgb(91, 33, 182) or hsl(263, 69%, 42%).
How do I use violet-800 as a background in Tailwind?
Add the class bg-violet-800 to the element. Use text-violet-800 for text and border-violet-800 for borders.
What text color works on bg-violet-800?
violet-300 (#C4B5FD) is the closest shade of the same color with readable contrast (4.87:1). Plain white text gives 8.98:1.