#7E378B
Closest named color: Light Eggplant (#894585). oklch(46.7% 0.148 321.2), rgb(126, 55, 139).
Aa
White text reads best on this color (7.48:1).
About this color
#7E378B is a medium-dark, vivid purple. In OKLCH its lightness is 47%, its chroma 0.148 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.044 away. White text reads best on it, at 7.48:1.
| Hue family | Purples |
| Lightness | medium-dark (47%) |
| Chroma | vivid (0.148) |
| Temperature | in between |
| Nearest name | Light Eggplant (#894585) |
| Black text | 2.80:1 |
| White text | 7.48:1 |
Values
| HEX | #7E378B |
| RGB | rgb(126, 55, 139) |
| HSL | hsl(291, 43%, 38%) |
| OKLCH | oklch(46.7% 0.148 321.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 #7E378B | 7.48:1 | AAA | Lc -90.3 | Preferred for body text |
| Black text on #7E378B | 2.80:1 | Fails | Lc 18.6 | Dividers and decoration only |
| #7E378B text on white | 7.48:1 | AAA | Lc 85.5 | Fine for body text |
| #7E378B text on black | 2.80:1 | Fails | Lc -16.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 700.
-
Step 50
50
#F9F3F9
oklch(97% 0.01 325.7)
-
Step 100
100
#F1E6F2
oklch(93.7% 0.02 323.2)
-
Step 200
200
#E6D1E9
oklch(88.5% 0.04 322)
-
Step 300
300
#D6B2DD
oklch(80.9% 0.071 320.8)
-
Step 400
400
#C188CC
oklch(70.6% 0.115 320.9)
-
Step 500
500
#B168BE
oklch(63% 0.147 321.4)
-
Step 600
600
#9C4EAB
oklch(55.6% 0.159 321)
-
Step 700
700 (this color)
#7E378B
oklch(46.7% 0.148 321.2)
-
Step 800
800
#6C3477
oklch(42.7% 0.123 320.8)
-
Step 900
900
#582E60
oklch(37.7% 0.096 321)
-
Step 950
950
#341B38
oklch(26.9% 0.062 321.9)
#7E378B 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) | #26508E | 0.143 |
| Deuteranopia (no green cones) | #405789 | 0.124 |
| Tritanopia (no blue cones) | #7F445C | 0.090 |
| Achromatopsia (no color) | #555555 | 0.149 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7E378B
#7E378B
oklch(46.7% 0.148 321.2)
- #1A6D0A
#1A6D0A
oklch(46.8% 0.148 141.2)
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 #7E378B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Eggplant #894585 ΔE 0.044
- Warm Purple #952E8F ΔE 0.046
- Rebecca Purple #663399 ΔE 0.056
- Dark Magenta #8B008B ΔE 0.065
- Purple #800080 ΔE 0.068
- Purply #983FB2 ΔE 0.079
- Muted Purple #805B87 ΔE 0.090
- Dull Purple #84597E ΔE 0.092
Use #7E378B 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.