purple-200
#e9d4ffTailwind CSS v4.3.3 purple-200 is oklch(90.2% 0.063 306.703) in OKLCH, the format Tailwind uses, and #e9d4ff in HEX.
- Class
- OKLCH
- HEX
- RGB
- HSL
- CSS
Classes
Click to copy. Add /50 for 50% opacity, for example bg-purple-200/50.
Text on purple-200
- Aawhite1.37:1Hard to read
- Aablack15.38:1Readable · AA
- Aapurple-95011.01:1Readable · AA
Most readable text from the purple scale: purple-950
Tailwind purple scale
Step 200 in other Tailwind colors
Questions and answers
What is the hex code of Tailwind purple-200?
purple-200 is #e9d4ff in HEX, rgb(233 212 255) in RGB and oklch(90.2% 0.063 306.703) in OKLCH. Tailwind CSS v4.3.3 defines its colors in OKLCH, so the HEX value is the closest sRGB match.
Is Tailwind purple-200 accessible for text?
White text on purple-200 has a contrast ratio of 1.37:1 and black text 15.38:1. WCAG AA needs 4.5:1 for normal text and 3:1 for large text, so black text is the better choice here.
How do I use purple-200 in Tailwind CSS?
Add bg-purple-200, text-purple-200 or border-purple-200 to an element. In your own CSS use var(--color-purple-200), the CSS variable Tailwind v4 creates for every color.