Tailwind violet-300: questions & answers
What is the HEX code of Tailwind violet-300?
Tailwind violet-300 is #C4B5FD, which is rgb(196, 181, 253) or hsl(252, 95%, 85%).
How do I use violet-300 as a background in Tailwind?
Add the class bg-violet-300 to the element. Use text-violet-300 for text and border-violet-300 for borders.
What text color works on bg-violet-300?
violet-800 (#5B21B6) is the closest shade of the same color with readable contrast (4.87:1). Plain black text gives 11.38:1.