mauve-800
#2a212cTailwind CSS v4.3.3 mauve-800 is oklch(26.3% 0.024 320.12) in OKLCH, the format Tailwind uses, and #2a212c in HEX.
- Class
- OKLCH
- HEX
- RGB
- HSL
- CSS
Classes
Click to copy. Add /50 for 50% opacity, for example bg-mauve-800/50.
Text on mauve-800
- Aawhite15.52:1Readable · AA
- Aablack1.35:1Hard to read
- Aamauve-5014.87:1Readable · AA
Most readable text from the mauve scale: mauve-50
Tailwind mauve scale
Step 800 in other Tailwind colors
Questions and answers
What is the hex code of Tailwind mauve-800?
mauve-800 is #2a212c in HEX, rgb(42 33 44) in RGB and oklch(26.3% 0.024 320.12) in OKLCH. Tailwind CSS v4.3.3 defines its colors in OKLCH, so the HEX value is the closest sRGB match.
Is Tailwind mauve-800 accessible for text?
White text on mauve-800 has a contrast ratio of 15.52:1 and black text 1.35:1. WCAG AA needs 4.5:1 for normal text and 3:1 for large text, so white text is the better choice here.
How do I use mauve-800 in Tailwind CSS?
Add bg-mauve-800, text-mauve-800 or border-mauve-800 to an element. In your own CSS use var(--color-mauve-800), the CSS variable Tailwind v4 creates for every color.