#7F4A7E
Closest named color: Light Eggplant (#894585). oklch(49% 0.102 327.7), rgb(127, 74, 126).
Aa
White text reads best on this color (6.59:1).
About this color
#7F4A7E is a medium-dark, moderately saturated purple. In OKLCH its lightness is 49%, its chroma 0.102 and its hue 328°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.025 away. White text reads best on it, at 6.59:1.
| Hue family | Purples |
| Lightness | medium-dark (49%) |
| Chroma | moderately saturated (0.102) |
| Temperature | in between |
| Nearest name | Light Eggplant (#894585) |
| Black text | 3.18:1 |
| White text | 6.59:1 |
Values
| HEX | #7F4A7E |
| RGB | rgb(127, 74, 126) |
| HSL | hsl(301, 26%, 39%) |
| OKLCH | oklch(49% 0.102 327.7) |
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 #7F4A7E | 6.59:1 | AA | Lc -87.5 | Fine for body text |
| Black text on #7F4A7E | 3.18:1 | AA large text | Lc 21.6 | Dividers and decoration only |
| #7F4A7E text on white | 6.59:1 | AA | Lc 82.4 | Fine for body text |
| #7F4A7E text on black | 3.18:1 | AA large text | Lc -19.5 | 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
#F8F4F8
oklch(97.1% 0.007 325.6)
-
Step 100
100
#EFE7EF
oklch(93.7% 0.014 325.7)
-
Step 200
200
#E4D3E3
oklch(88.5% 0.028 327.6)
-
Step 300
300
#D3B6D1
oklch(80.9% 0.049 328.2)
-
Step 400
400
#BC8FBA
oklch(70.7% 0.08 327.8)
-
Step 500
500
#AA73A9
oklch(63.1% 0.101 327.3)
-
Step 600
600
#955B94
oklch(55.6% 0.109 327.5)
-
Step 700
700 (this color)
#7F4A7E
oklch(49% 0.102 327.7)
-
Step 800
800
#673D67
oklch(42.6% 0.085 326.9)
-
Step 900
900
#543453
oklch(37.6% 0.066 327.9)
-
Step 950
950
#311F31
oklch(27% 0.041 326.6)
#7F4A7E 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) | #465980 | 0.098 |
| Deuteranopia (no green cones) | #545F7C | 0.088 |
| Tritanopia (no blue cones) | #824F5E | 0.058 |
| Achromatopsia (no color) | #5D5D5D | 0.103 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F4A7E
#7F4A7E
oklch(49% 0.102 327.7)
- #32703D
#32703D
oklch(49% 0.103 147.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 #7F4A7E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Eggplant #894585 ΔE 0.025
- Dull Purple #84597E ΔE 0.042
- Muted Purple #805B87 ΔE 0.043
- Dark Mauve #874C62 ΔE 0.050
- Dusky Purple #895B7B ΔE 0.052
- Dusty Purple #825F87 ΔE 0.054
- Light Plum #9D5783 ΔE 0.068
- Warm Purple #952E8F ΔE 0.075
Use #7F4A7E 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.