mauve-200
#e7e4e7Tailwind CSS v4.3.3 mauve-200 is oklch(92.2% 0.005 325.62) in OKLCH, the format Tailwind uses, and #e7e4e7 in HEX.
- Class
- OKLCH
- HEX
- RGB
- HSL
- CSS
Classes
Click to copy. Add /50 for 50% opacity, for example bg-mauve-200/50.
Text on mauve-200
- Aawhite1.26:1Hard to read
- Aablack16.65:1Readable · AA
- Aamauve-95015.71:1Readable · AA
Most readable text from the mauve scale: mauve-950
Tailwind mauve scale
Step 200 in other Tailwind colors
Questions and answers
What is the hex code of Tailwind mauve-200?
mauve-200 is #e7e4e7 in HEX, rgb(231 228 231) in RGB and oklch(92.2% 0.005 325.62) in OKLCH. Tailwind CSS v4.3.3 defines its colors in OKLCH, so the HEX value is the closest sRGB match.
Is Tailwind mauve-200 accessible for text?
White text on mauve-200 has a contrast ratio of 1.26:1 and black text 16.65: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 mauve-200 in Tailwind CSS?
Add bg-mauve-200, text-mauve-200 or border-mauve-200 to an element. In your own CSS use var(--color-mauve-200), the CSS variable Tailwind v4 creates for every color.