Tailwind purple-400: questions & answers
What is the HEX code of Tailwind purple-400?
Tailwind purple-400 is #C084FC, which is rgb(192, 132, 252) or hsl(270, 95%, 75%).
How do I use purple-400 as a background in Tailwind?
Add the class bg-purple-400 to the element. Use text-purple-400 for text and border-purple-400 for borders.
What text color works on bg-purple-400?
purple-950 (#3B0764) is the closest shade of the same color with readable contrast (5.68:1). Plain black text gives 7.95:1.