#7F396D
Closest named color: Light Eggplant (#894585). oklch(45.6% 0.118 338.2), rgb(127, 57, 109).
Aa
White text reads best on this color (7.75:1).
About this color
#7F396D is a medium-dark, moderately saturated purple. In OKLCH its lightness is 46%, its chroma 0.118 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.048 away. White text reads best on it, at 7.75:1.
| Hue family | Purples |
| Lightness | medium-dark (46%) |
| Chroma | moderately saturated (0.118) |
| Temperature | warm |
| Nearest name | Light Eggplant (#894585) |
| Black text | 2.70:1 |
| White text | 7.75:1 |
Values
| HEX | #7F396D |
| RGB | rgb(127, 57, 109) |
| HSL | hsl(315, 38%, 36%) |
| OKLCH | oklch(45.6% 0.118 338.2) |
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 #7F396D | 7.75:1 | AAA | Lc -91.3 | Preferred for body text |
| Black text on #7F396D | 2.70:1 | Fails | Lc 17.5 | Dividers and decoration only |
| #7F396D text on white | 7.75:1 | AAA | Lc 86.5 | Fine for body text |
| #7F396D text on black | 2.70:1 | Fails | Lc -15.6 | 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 800.
-
Step 50
50
#FAF3F7
oklch(97.1% 0.009 341.8)
-
Step 100
100
#F3E5EE
oklch(93.6% 0.019 338.7)
-
Step 200
200
#EBD0E2
oklch(88.5% 0.038 338.1)
-
Step 300
300
#DFB0D0
oklch(80.9% 0.069 338.2)
-
Step 400
400
#CD85B8
oklch(70.6% 0.11 338.2)
-
Step 500
500
#BF65A6
oklch(63.2% 0.14 338.6)
-
Step 600
600
#AA4A92
oklch(55.7% 0.153 338.2)
-
Step 700
700
#913A7C
oklch(49% 0.142 338)
-
Step 800
800 (this color)
#7F396D
oklch(45.6% 0.118 338.2)
-
Step 900
900
#602C52
oklch(37.8% 0.092 338.6)
-
Step 950
950
#381A30
oklch(26.9% 0.058 338)
#7F396D 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) | #3B4C6F | 0.123 |
| Deuteranopia (no green cones) | #4F576B | 0.111 |
| Tritanopia (no blue cones) | #853B4E | 0.055 |
| Achromatopsia (no color) | #525252 | 0.119 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F396D
#7F396D
oklch(45.6% 0.118 338.2)
- #006840
#006840
oklch(45.6% 0.106 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 #7F396D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Eggplant #894585 ΔE 0.048
- Dark Mauve #874C62 ΔE 0.060
- Brownish Purple #76424E ΔE 0.063
- Warm Purple #952E8F ΔE 0.073
- Mulberry #920A4E ΔE 0.077
- Dull Purple #84597E ΔE 0.079
- Dark Fuchsia #9D0759 ΔE 0.080
- Red Violet #9E0168 ΔE 0.081
Use #7F396D 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.