#7F4DA2
Closest named color: Light Eggplant (#894585). oklch(51.5% 0.138 309.5), rgb(127, 77, 162).
Aa
White text reads best on this color (6.02:1).
About this color
#7F4DA2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 51%, its chroma 0.138 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.050 away. White text reads best on it, at 6.02:1.
| Hue family | Purples |
| Lightness | medium-dark (51%) |
| Chroma | moderately saturated (0.138) |
| Temperature | in between |
| Nearest name | Light Eggplant (#894585) |
| Black text | 3.48:1 |
| White text | 6.02:1 |
Values
| HEX | #7F4DA2 |
| RGB | rgb(127, 77, 162) |
| HSL | hsl(275, 36%, 47%) |
| OKLCH | oklch(51.5% 0.138 309.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 #7F4DA2 | 6.02:1 | AA | Lc -85.0 | Fine for body text |
| Black text on #7F4DA2 | 3.48:1 | AA large text | Lc 24.2 | Dividers and decoration only |
| #7F4DA2 text on white | 6.02:1 | AA | Lc 79.8 | Fine for body text |
| #7F4DA2 text on black | 3.48:1 | AA large text | Lc -22.0 | 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
#F7F4FA
oklch(97.1% 0.009 308.4)
-
Step 100
100
#EEE7F4
oklch(93.7% 0.019 309.8)
-
Step 200
200
#E0D3EC
oklch(88.5% 0.037 308.8)
-
Step 300
300
#CEB5E2
oklch(80.9% 0.068 309.9)
-
Step 400
400
#B58ED3
oklch(70.8% 0.107 309.7)
-
Step 500
500
#A270C7
oklch(63.1% 0.136 309.5)
-
Step 600
600
#8D56B4
oklch(55.5% 0.15 309.4)
-
Step 700
700 (this color)
#7F4DA2
oklch(51.5% 0.138 309.5)
-
Step 800
800
#623A7D
oklch(42.7% 0.114 310)
-
Step 900
900
#503365
oklch(37.8% 0.089 309.5)
-
Step 950
950
#2F1E3B
oklch(27.1% 0.056 310.1)
#7F4DA2 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) | #3661A5 | 0.112 |
| Deuteranopia (no green cones) | #4564A0 | 0.101 |
| Tritanopia (no blue cones) | #7A5B70 | 0.097 |
| Achromatopsia (no color) | #636363 | 0.139 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F4DA2
#7F4DA2
oklch(51.5% 0.138 309.5)
- #4D7600
#4D7600
oklch(51.6% 0.138 129.6)
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 #7F4DA2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Eggplant #894585 ΔE 0.050
- Deep Lavender #8D5EB7 ΔE 0.056
- Purply #983FB2 ΔE 0.058
- Muted Purple #805B87 ΔE 0.062
- Dusty Purple #825F87 ΔE 0.071
- Warm Purple #952E8F ΔE 0.072
- Dull Purple #84597E ΔE 0.073
- Iris #6258C4 ΔE 0.073
Use #7F4DA2 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.