#7F2D6D
Closest named color: Light Eggplant (#894585). oklch(44% 0.137 337.3), rgb(127, 45, 109).
Aa
White text reads best on this color (8.40:1).
About this color
#7F2D6D is a dark, moderately saturated purple. In OKLCH its lightness is 44%, its chroma 0.137 and its hue 337°. Its hue sits on the warm side of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.063 away. White text reads best on it, at 8.40:1.
| Hue family | Purples |
| Lightness | dark (44%) |
| Chroma | moderately saturated (0.137) |
| Temperature | warm |
| Nearest name | Light Eggplant (#894585) |
| Black text | 2.49:1 |
| White text | 8.40:1 |
Values
| HEX | #7F2D6D |
| RGB | rgb(127, 45, 109) |
| HSL | hsl(313, 48%, 34%) |
| OKLCH | oklch(44% 0.137 337.3) |
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 #7F2D6D | 8.40:1 | AAA | Lc -92.9 | Preferred for body text |
| Black text on #7F2D6D | 2.49:1 | Fails | Lc 15.7 | Dividers and decoration only |
| #7F2D6D text on white | 8.40:1 | AAA | Lc 88.3 | Fine for body text |
| #7F2D6D text on black | 2.49:1 | Fails | Lc -13.9 | 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
#EDCEE4
oklch(88.4% 0.045 336.4)
-
Step 300
300
#E3ADD3
oklch(80.9% 0.08 337.5)
-
Step 400
400
#D380BD
oklch(70.7% 0.128 337.4)
-
Step 500
500
#C55DAD
oklch(63.1% 0.163 337)
-
Step 600
600
#B13F98
oklch(55.7% 0.179 337.4)
-
Step 700
700
#973082
oklch(49.1% 0.166 337)
-
Step 800
800 (this color)
#7F2D6D
oklch(44% 0.137 337.3)
-
Step 900
900
#632756
oklch(37.7% 0.107 336.7)
-
Step 950
950
#3B1832
oklch(27.1% 0.067 338.1)
#7F2D6D 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) | #2F456F | 0.146 |
| Deuteranopia (no green cones) | #48526B | 0.129 |
| Tritanopia (no blue cones) | #863148 | 0.067 |
| Achromatopsia (no color) | #4D4D4D | 0.139 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F2D6D
#7F2D6D
oklch(44% 0.137 337.3)
- #00633B
#00633B
oklch(44% 0.104 157.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 #7F2D6D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Eggplant #894585 ΔE 0.063
- Purple #800080 ΔE 0.064
- Mulberry #920A4E ΔE 0.067
- Velvet #750851 ΔE 0.068
- Red Violet #9E0168 ΔE 0.069
- Warm Purple #952E8F ΔE 0.069
- Red Purple #820747 ΔE 0.070
- Dark Fuchsia #9D0759 ΔE 0.072
Use #7F2D6D 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.