"Mauve" is one of those color names everyone uses and nobody agrees on. Ask a designer and you'll get a pale lilac. Ask someone picking a lipstick and you'll get a muted rose. If you've ever pasted color: mauve into a stylesheet, you've also found out that the browser ignores it.

Here are the values I use, where they come from, and how to make them work in a real UI.

The short answer

Name HEX RGB HSL OKLCH
Mauve #E0B0FF 224, 176, 255 hsl(276, 100%, 85%) oklch(82.7% 0.119 311.6)
Dusty mauve #C0AFC5 192, 175, 197 hsl(286, 16%, 73%) oklch(77.5% 0.036 318.5)
Dark mauve #874C62 135, 76, 98 hsl(338, 28%, 41%) oklch(49.3% 0.084 356.8)

Why mauve has more than one value

There is no official mauve. #E0B0FF is the "mallow" sample from Maerz and Paul's A Dictionary of Color (1930), and it's what most color references return for "mauve". It's a pale purple with a pink cast.

The other meaning is pinker. The xkcd color survey (2010), which asked people online to name colors shown on their own screens, puts "mauve" at #AE7181, a grayed rose, and "dark mauve" at #874C62. Both meanings are in use, so when the exact shade matters, send the HEX value along with the word.

Dusty mauve isn't in any formal system either. #C0AFC5 is a common value in online color-name lists; variants like #BFAFC4 and #C2B0C9 look almost identical on screen.

color: mauve doesn't work

mauve isn't one of the CSS named colors, so a declaration like this is dropped:

.tag { background: mauve; } /* ignored */ 

Store the value once instead:

:root { --mauve: #E0B0FF; --dusty-mauve: #C0AFC5; --dark-mauve: #874C62; } 

Contrast: the part that bites

Mauve is very light, which makes it a nice background and a bad button.

Color White text Black text
Mauve #E0B0FF 1.78:1 ❌ 11.82:1 ✅
Dusty mauve #C0AFC5 2.06:1 ❌ 10.18:1 ✅
Dark mauve #874C62 6.48:1 ✅ 3.24:1 ❌

WCAG AA asks for 4.5:1 for normal text. So: dark text on mauve and dusty mauve, white text on dark mauve.

A 50–950 scale in OKLCH

For a filled button with a white label, you need a darker step that still looks like mauve. Darkening in HSL tends to shift the hue and make it muddy, so I built the scale in OKLCH: keep the hue, set fixed lightness steps, and lower chroma only where a step falls outside sRGB.

:root { --mauve-50: #FAF4FF; --mauve-100: #F4E4FF; --mauve-200: #EACBFF; --mauve-300: #E0B0FF; /* base */ --mauve-400: #BF90DD; --mauve-500: #A476C1; --mauve-600: #8A5DA5; --mauve-700: #71448B; /* 7.24:1 with white */ --mauve-800: #5A2E72; --mauve-900: #44175B; --mauve-950: #2E0043; } .button { background: var(--mauve-700); color: #fff; } .card { background: var(--mauve-100); color: var(--mauve-900); } 

The full scales for all three shades, plus a Tailwind config and a design-tokens JSON file, are in a CC0 repo: mauve-color-tokens.

Don't let color carry the meaning

Under a common red-green color vision deficiency model (Machado et al., 2009), mauve's pink cast disappears and it reads as a pale periwinkle blue. If a mauve badge means "draft" and a blue one means "published", some users won't see the difference. Add a label or an icon.

Palettes that work

  • Mauve + sage: #E0B0FF, #ACE1AF (celadon), #F4F0EC (isabelline), #4D5D53 (feldgrau)
  • Tonal purples: #F4F0EC, #E0B0FF, #C9A0DC (wisteria), #4B3048 (aubergine, 6.51:1 on mauve)
  • Dusty mauve wedding neutrals: #F4F0EC, #C2B280 (ecru), #C0AFC5, #635147 (umber)

I built mauvecolor.com to keep all of this in one place: copyable codes, the OKLCH scales, palettes, contrast checks and color blindness previews for each shade. It's free and runs in the browser. If you use a different "official" mauve, I'd like to hear where it comes from.