mauve color code
The hex code for mauve is #E0B0FF, which is rgb(224, 176, 255) in RGB and cmyk(12%, 31%, 0%, 0%) in CMYK. It's a very light, vivid purple. There is no official standard for mauve; #E0B0FF is the value most colour references use.
Build a full palette from it: open in the palette generator.
Move the sliders to find a lighter, darker or softer mauve; the codes update as you go.
Mauve colour codes
| HEX | #E0B0FF |
|---|---|
| RGB | rgb(224, 176, 255) |
| HSL | hsl(276, 100%, 85%) |
| HSV / HSB | hsv(276, 31%, 100%) |
| CMYK | cmyk(12%, 31%, 0%, 0%) |
| Decimal | 14725375 |
About mauve
Mauve sits at a hue of 276° on the colour wheel, with 100% saturation and 85% lightness. That makes it a colour that sits between warm and cool: greens and purples like this can be styled warm or cool depending on what you put next to them.
From the French name of the mallow flower; the 1856 dye mauveine made the colour famous.
For text, black reads better on mauve. Mauve as text on a white background has a contrast ratio of 1.77:1, which fails the WCAG AA rule for body text (4.5:1) and fails the 3:1 rule for large text. On black it is 11.82:1, which passes AA for body text.
Tints and shades of mauve
Tints mix mauve with white and shades mix it with black, in 10% steps. They're the easiest way to get lighter backgrounds and darker hover or text colours that still match.
Colours that go with mauve
Complementary — opposite on the colour wheel: maximum contrast
Analogous — neighbours 30° either side: calm and natural
Triadic — three hues 120° apart: lively but balanced
Split complementary — the two neighbours of the complement: contrast with less tension
Tetradic — four hues 90° apart: rich, use one as the main colour
Mauve text contrast
| Combination | Ratio | AA normal (4.5:1) | AA large (3:1) | AAA (7:1) |
|---|---|---|---|---|
| mauve on white | 1.77:1 | fail | fail | fail |
| mauve on black | 11.82:1 | pass | pass | pass |
Check mauve against any other colour in the contrast checker.
How mauve looks with colour blindness
Simulated with the Machado et al. (2009) model for the complete loss of one type of cone cell. Colour vision deficiency affects roughly 1 in 12 men and 1 in 200 women, most often as red-green colour blindness.
Use mauve in code
.mauve {
color: #e0b0ff;
background-color: #e0b0ff;
border-color: rgb(224, 176, 255);
}Frequently asked questions
What is the hex code for mauve?
#E0B0FF is the most widely used value for mauve. There's no official standard, so paint, fabric and brand swatches called mauve can differ slightly; use the hex code to match it exactly on screen.
What is mauve in RGB, HSL and CMYK?
RGB: rgb(224, 176, 255). HSL: hsl(276, 100%, 85%). CMYK: cmyk(12%, 31%, 0%, 0%). CMYK is a simple conversion for reference; for professional printing, ask your printer for a matching ink or Pantone swatch.
What colours go with mauve?
Its complementary colour is #CFFFB0 (close to pale green), which gives the strongest contrast. For a calmer look, use the analogous colours #B9B0FF and #FFB0F7, or the triadic pair #FFE0B0 and #B0FFE0. Tints and shades of mauve itself always work together.
Is mauve a warm or cool colour?
Mauve has a hue of 276°, which makes it neither clearly warm nor cool.
Should I use black or white text on mauve?
Black. Black text on mauve has a contrast ratio of 11.82:1 and white text has 1.77:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.
Is mauve a CSS colour name?
No. Mauve isn't one of the named colours built into CSS, so write it as a hex code: color: #e0b0ff;