#804C8E
Closest named color: Light Eggplant (#894585). oklch(50.3% 0.117 318.9), rgb(128, 76, 142).
Aa
White text reads best on this color (6.28:1).
About this color
#804C8E is a medium-dark, moderately saturated purple. In OKLCH its lightness is 50%, its chroma 0.117 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.024 away. White text reads best on it, at 6.28:1.
| Hue family | Purples |
| Lightness | medium-dark (50%) |
| Chroma | moderately saturated (0.117) |
| Temperature | in between |
| Nearest name | Light Eggplant (#894585) |
| Black text | 3.34:1 |
| White text | 6.28:1 |
Values
| HEX | #804C8E |
| RGB | rgb(128, 76, 142) |
| HSL | hsl(287, 30%, 43%) |
| OKLCH | oklch(50.3% 0.117 318.9) |
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 #804C8E | 6.28:1 | AA | Lc -86.2 | Fine for body text |
| Black text on #804C8E | 3.34:1 | AA large text | Lc 23.0 | Dividers and decoration only |
| #804C8E text on white | 6.28:1 | AA | Lc 81.1 | Fine for body text |
| #804C8E text on black | 3.34:1 | AA large text | Lc -20.8 | 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
#D1B6D8
oklch(81% 0.055 319.3)
-
Step 400
400
#B98FC5
oklch(70.8% 0.09 318.6)
-
Step 500
500
#A772B6
oklch(63.1% 0.115 318.6)
-
Step 600
600
#9259A2
oklch(55.6% 0.126 318.6)
-
Step 700
700 (this color)
#804C8E
oklch(50.3% 0.117 318.9)
-
Step 800
800
#653C70
oklch(42.7% 0.096 318.9)
-
Step 900
900
#52345B
oklch(37.7% 0.074 318.2)
-
Step 950
950
#301F35
oklch(27% 0.046 318.4)
#804C8E 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) | #415D90 | 0.104 |
| Deuteranopia (no green cones) | #50628C | 0.093 |
| Tritanopia (no blue cones) | #805566 | 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°).
- #804C8E
#804C8E
oklch(50.3% 0.117 318.9)
- #3E732E
#3E732E
oklch(50.2% 0.116 139)
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 #804C8E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Eggplant #894585 ΔE 0.024
- Muted Purple #805B87 ΔE 0.043
- Dull Purple #84597E ΔE 0.049
- Dusty Purple #825F87 ΔE 0.054
- Dusky Purple #895B7B ΔE 0.060
- Warm Purple #952E8F ΔE 0.068
- Light Plum #9D5783 ΔE 0.069
- Dark Lavender #856798 ΔE 0.070
Use #804C8E 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.