Tailwind purple-900: questions & answers
What is the HEX code of Tailwind purple-900?
Tailwind purple-900 is #581C87, which is rgb(88, 28, 135) or hsl(274, 66%, 32%).
How do I use purple-900 as a background in Tailwind?
Add the class bg-purple-900 to the element. Use text-purple-900 for text and border-purple-900 for borders.
What text color works on bg-purple-900?
purple-300 (#D8B4FE) is the closest shade of the same color with readable contrast (6.15:1). Plain white text gives 10.88:1.