Tailwind violet-200: questions & answers
What is the HEX code of Tailwind violet-200?
Tailwind violet-200 is #DDD6FE, which is rgb(221, 214, 254) or hsl(251, 95%, 92%).
How do I use violet-200 as a background in Tailwind?
Add the class bg-violet-200 to the element. Use text-violet-200 for text and border-violet-200 for borders.
What text color works on bg-violet-200?
violet-700 (#6D28D9) is the closest shade of the same color with readable contrast (5.12:1). Plain black text gives 15.12:1.