#7E408C
Closest named color: Light Eggplant (#894585). oklch(48% 0.134 320), rgb(126, 64, 140).
Aa
White text reads best on this color (7.00:1).
About this color
#7E408C is a medium-dark, moderately saturated purple. In OKLCH its lightness is 48%, its chroma 0.134 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.030 away. White text reads best on it, at 7.00:1.
| Hue family | Purples |
| Lightness | medium-dark (48%) |
| Chroma | moderately saturated (0.134) |
| Temperature | in between |
| Nearest name | Light Eggplant (#894585) |
| Black text | 2.99:1 |
| White text | 7.00:1 |
Values
| HEX | #7E408C |
| RGB | rgb(126, 64, 140) |
| HSL | hsl(289, 37%, 40%) |
| OKLCH | oklch(48% 0.134 320) |
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 #7E408C | 7.00:1 | AAA | Lc -88.8 | Fine for body text |
| Black text on #7E408C | 2.99:1 | Fails | Lc 20.2 | Dividers and decoration only |
| #7E408C text on white | 7.00:1 | AAA | Lc 83.9 | Fine for body text |
| #7E408C text on black | 2.99:1 | Fails | Lc -18.1 | 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
#F8F4F9
oklch(97.2% 0.008 319.4)
-
Step 100
100
#F0E6F2
oklch(93.6% 0.019 320.6)
-
Step 200
200
#E4D2E8
oklch(88.5% 0.035 320.1)
-
Step 300
300
#D4B4DB
oklch(81% 0.064 320.2)
-
Step 400
400
#BD8BC9
oklch(70.6% 0.104 319.7)
-
Step 500
500
#AC6DBB
oklch(63.1% 0.132 319.7)
-
Step 600
600
#9853A7
oklch(55.6% 0.145 320.2)
-
Step 700
700 (this color)
#7E408C
oklch(48% 0.134 320)
-
Step 800
800
#693874
oklch(42.7% 0.11 320)
-
Step 900
900
#55315E
oklch(37.7% 0.086 319.4)
-
Step 950
950
#321D37
oklch(27% 0.055 319.7)
#7E408C 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) | #32558F | 0.125 |
| Deuteranopia (no green cones) | #465B8A | 0.110 |
| Tritanopia (no blue cones) | #7F4B60 | 0.084 |
| Achromatopsia (no color) | #595959 | 0.135 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7E408C
#7E408C
oklch(48% 0.134 320)
- #2D6F1B
#2D6F1B
oklch(48.1% 0.135 139.8)
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 #7E408C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Eggplant #894585 ΔE 0.030
- Warm Purple #952E8F ΔE 0.052
- Rebecca Purple #663399 ΔE 0.064
- Muted Purple #805B87 ΔE 0.071
- Dull Purple #84597E ΔE 0.074
- Purply #983FB2 ΔE 0.076
- Dark Magenta #8B008B ΔE 0.082
- Dusty Purple #825F87 ΔE 0.082
Use #7E408C 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.