Tailwind violet-700: questions & answers
What is the HEX code of Tailwind violet-700?
Tailwind violet-700 is #6D28D9, which is rgb(109, 40, 217) or hsl(263, 70%, 50%).
How do I use violet-700 as a background in Tailwind?
Add the class bg-violet-700 to the element. Use text-violet-700 for text and border-violet-700 for borders.
What text color works on bg-violet-700?
violet-200 (#DDD6FE) is the closest shade of the same color with readable contrast (5.12:1). Plain white text gives 7.1:1.