Tailwind purple-300: questions & answers
What is the HEX code of Tailwind purple-300?
Tailwind purple-300 is #D8B4FE, which is rgb(216, 180, 254) or hsl(269, 97%, 85%).
How do I use purple-300 as a background in Tailwind?
Add the class bg-purple-300 to the element. Use text-purple-300 for text and border-purple-300 for borders.
What text color works on bg-purple-300?
purple-800 (#6B21A8) is the closest shade of the same color with readable contrast (4.93:1). Plain black text gives 11.88:1.