#7F4C8E
Closest named color: Light Eggplant (#894585). oklch(50.2% 0.116 318.2), rgb(127, 76, 142).
Aa
White text reads best on this color (6.31:1).
About this color
#7F4C8E is a medium-dark, moderately saturated purple. In OKLCH its lightness is 50%, its chroma 0.116 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.026 away. White text reads best on it, at 6.31:1.
| Hue family | Purples |
| Lightness | medium-dark (50%) |
| Chroma | moderately saturated (0.116) |
| Temperature | in between |
| Nearest name | Light Eggplant (#894585) |
| Black text | 3.32:1 |
| White text | 6.31:1 |
Values
| HEX | #7F4C8E |
| RGB | rgb(127, 76, 142) |
| HSL | hsl(286, 30%, 43%) |
| OKLCH | oklch(50.2% 0.116 318.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 #7F4C8E | 6.31:1 | AA | Lc -86.3 | Fine for body text |
| Black text on #7F4C8E | 3.32:1 | AA large text | Lc 22.9 | Dividers and decoration only |
| #7F4C8E text on white | 6.31:1 | AA | Lc 81.2 | Fine for body text |
| #7F4C8E text on black | 3.32:1 | AA large text | Lc -20.7 | 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
#EFE7F1
oklch(93.7% 0.016 319.4)
-
Step 200
200
#E2D3E7
oklch(88.5% 0.031 317.7)
-
Step 300
300
#D0B6D8
oklch(80.9% 0.055 318.2)
-
Step 400
400
#B88FC5
oklch(70.7% 0.089 317.9)
-
Step 500
500
#A672B6
oklch(63% 0.114 318)
-
Step 600
600
#9159A2
oklch(55.5% 0.125 318)
-
Step 700
700 (this color)
#7F4C8E
oklch(50.2% 0.116 318.2)
-
Step 800
800
#653C71
oklch(42.7% 0.097 318.3)
-
Step 900
900
#52345B
oklch(37.7% 0.074 318.2)
-
Step 950
950
#301F35
oklch(27% 0.046 318.4)
#7F4C8E 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) | #415C90 | 0.102 |
| Deuteranopia (no green cones) | #4F628C | 0.093 |
| Tritanopia (no blue cones) | #7F5566 | 0.075 |
| Achromatopsia (no color) | #606060 | 0.117 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F4C8E
#7F4C8E
oklch(50.2% 0.116 318.2)
- #3F732D
#3F732D
oklch(50.2% 0.116 138.4)
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 #7F4C8E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Eggplant #894585 ΔE 0.026
- Muted Purple #805B87 ΔE 0.044
- Dull Purple #84597E ΔE 0.050
- Dusty Purple #825F87 ΔE 0.055
- Dusky Purple #895B7B ΔE 0.060
- Warm Purple #952E8F ΔE 0.069
- Light Plum #9D5783 ΔE 0.070
- Dark Lavender #856798 ΔE 0.070
Use #7F4C8E 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.