#7F4E71
Closest named color: Dark Mauve (#874C62). oklch(49.2% 0.082 338.1), rgb(127, 78, 113).
Aa
White text reads best on this color (6.50:1).
About this color
#7F4E71 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 49%, its chroma 0.082 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Mauve (#874C62), ΔE 0.027 away. White text reads best on it, at 6.50:1.
| Hue family | Purples |
| Lightness | medium-dark (49%) |
| Chroma | moderately saturated (0.082) |
| Temperature | warm |
| Nearest name | Dark Mauve (#874C62) |
| Black text | 3.23:1 |
| White text | 6.50:1 |
Values
| HEX | #7F4E71 |
| RGB | rgb(127, 78, 113) |
| HSL | hsl(317, 24%, 40%) |
| OKLCH | oklch(49.2% 0.082 338.1) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #7F4E71 | 6.50:1 | AA | Lc -87.2 | Fine for body text |
| Black text on #7F4E71 | 3.23:1 | AA large text | Lc 22.0 | Dividers and decoration only |
| #7F4E71 text on white | 6.50:1 | AA | Lc 82.1 | Fine for body text |
| #7F4E71 text on black | 3.23:1 | AA large text | Lc -19.8 | Dividers and decoration only |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 700.
-
Step 50
50
#F8F4F7
oklch(97.1% 0.006 334)
-
Step 100
100
#EFE7EC
oklch(93.6% 0.011 339.3)
-
Step 200
200
#E3D4DE
oklch(88.5% 0.021 337.7)
-
Step 300
300
#D3B7CA
oklch(80.9% 0.041 337.7)
-
Step 400
400
#BC92AE
oklch(70.8% 0.063 339)
-
Step 500
500
#AA769B
oklch(63.1% 0.082 337.6)
-
Step 600
600
#955F85
oklch(55.7% 0.087 338.4)
-
Step 700
700 (this color)
#7F4E71
oklch(49.2% 0.082 338.1)
-
Step 800
800
#67405C
oklch(42.7% 0.068 337.8)
-
Step 900
900
#54364B
oklch(37.6% 0.053 338.4)
-
Step 950
950
#31202C
oklch(26.9% 0.033 337.8)
#7F4E71 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #4F5972 | 0.083 |
| Deuteranopia (no green cones) | #5C6170 | 0.076 |
| Tritanopia (no blue cones) | #844F5B | 0.038 |
| Achromatopsia (no color) | #5E5E5E | 0.083 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F4E71
#7F4E71
oklch(49.2% 0.082 338.1)
- #336F4F
#336F4F
oklch(49.2% 0.082 158)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #7F4E71, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Mauve #874C62 ΔE 0.027
- Dull Purple #84597E ΔE 0.033
- Dusky Purple #895B7B ΔE 0.040
- Muted Purple #805B87 ΔE 0.042
- Light Eggplant #894585 ΔE 0.047
- Dusty Purple #825F87 ΔE 0.050
- Brownish Purple #76424E ΔE 0.060
- Light Plum #9D5783 ΔE 0.067
Use #7F4E71 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.