#7F2D6B
Closest named color: Mulberry (#920A4E). oklch(43.9% 0.136 338.5), rgb(127, 45, 107).
Aa
White text reads best on this color (8.43:1).
About this color
#7F2D6B is a dark, moderately saturated purple. In OKLCH its lightness is 44%, its chroma 0.136 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Mulberry (#920A4E), ΔE 0.064 away. White text reads best on it, at 8.43:1.
| Hue family | Purples |
| Lightness | dark (44%) |
| Chroma | moderately saturated (0.136) |
| Temperature | warm |
| Nearest name | Mulberry (#920A4E) |
| Black text | 2.49:1 |
| White text | 8.43:1 |
Values
| HEX | #7F2D6B |
| RGB | rgb(127, 45, 107) |
| HSL | hsl(315, 48%, 34%) |
| OKLCH | oklch(43.9% 0.136 338.5) |
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 #7F2D6B | 8.43:1 | AAA | Lc -93.0 | Preferred for body text |
| Black text on #7F2D6B | 2.49:1 | Fails | Lc 15.6 | Dividers and decoration only |
| #7F2D6B text on white | 8.43:1 | AAA | Lc 88.4 | Fine for body text |
| #7F2D6B text on black | 2.49:1 | Fails | Lc -13.8 | Not readable |
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 800.
-
Step 50
50
#FBF3F8
oklch(97.2% 0.011 339.3)
-
Step 100
100
#F5E4EF
oklch(93.6% 0.023 338.6)
-
Step 200
200
#EECEE3
oklch(88.4% 0.045 338.7)
-
Step 300
300
#E3ADD2
oklch(80.8% 0.079 338.3)
-
Step 400
400
#D380BB
oklch(70.6% 0.126 338.5)
-
Step 500
500
#C65DAA
oklch(63.1% 0.162 338.7)
-
Step 600
600
#B13F96
oklch(55.6% 0.177 338.3)
-
Step 700
700
#983080
oklch(49.1% 0.165 338.3)
-
Step 800
800 (this color)
#7F2D6B
oklch(43.9% 0.136 338.5)
-
Step 900
900
#642754
oklch(37.7% 0.106 338.9)
-
Step 950
950
#3B1831
oklch(27.1% 0.066 339.4)
#7F2D6B 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) | #30456D | 0.145 |
| Deuteranopia (no green cones) | #495269 | 0.128 |
| Tritanopia (no blue cones) | #863047 | 0.065 |
| Achromatopsia (no color) | #4D4D4D | 0.137 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F2D6B
#7F2D6B
oklch(43.9% 0.136 338.5)
- #00623C
#00623C
oklch(43.7% 0.101 158.5)
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 #7F2D6B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Mulberry #920A4E ΔE 0.064
- Light Eggplant #894585 ΔE 0.064
- Purple #800080 ΔE 0.067
- Velvet #750851 ΔE 0.067
- Red Purple #820747 ΔE 0.067
- Red Violet #9E0168 ΔE 0.069
- Dark Fuchsia #9D0759 ΔE 0.070
- Warm Purple #952E8F ΔE 0.071
Use #7F2D6B 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.