Tailwind purple-500: questions & answers
What is the HEX code of Tailwind purple-500?
Tailwind purple-500 is #A855F7, which is rgb(168, 85, 247) or hsl(271, 91%, 65%).
How do I use purple-500 as a background in Tailwind?
Add the class bg-purple-500 to the element. Use text-purple-500 for text and border-purple-500 for borders.
What text color works on bg-purple-500?
Black text gives the best contrast: 5.31:1.