#804A7E
Closest named color: Light Eggplant (#894585). oklch(49.2% 0.103 328.3), rgb(128, 74, 126).
Aa
White text reads best on this color (6.56:1).
About this color
#804A7E is a medium-dark, moderately saturated purple. In OKLCH its lightness is 49%, its chroma 0.103 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.024 away. White text reads best on it, at 6.56:1.
| Hue family | Purples |
| Lightness | medium-dark (49%) |
| Chroma | moderately saturated (0.103) |
| Temperature | in between |
| Nearest name | Light Eggplant (#894585) |
| Black text | 3.19:1 |
| White text | 6.56:1 |
Values
| HEX | #804A7E |
| RGB | rgb(128, 74, 126) |
| HSL | hsl(302, 27%, 40%) |
| OKLCH | oklch(49.2% 0.103 328.3) |
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 #804A7E | 6.56:1 | AA | Lc -87.4 | Fine for body text |
| Black text on #804A7E | 3.19:1 | AA large text | Lc 21.8 | Dividers and decoration only |
| #804A7E text on white | 6.56:1 | AA | Lc 82.3 | Fine for body text |
| #804A7E text on black | 3.19:1 | AA large text | Lc -19.6 | 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
#E4D3E2
oklch(88.5% 0.027 329.5)
-
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
#AB73A8
oklch(63.1% 0.101 328.5)
-
Step 600
600
#965A94
oklch(55.6% 0.111 328.1)
-
Step 700
700 (this color)
#804A7E
oklch(49.2% 0.103 328.3)
-
Step 800
800
#683D66
oklch(42.7% 0.085 328.6)
-
Step 900
900
#553453
oklch(37.7% 0.067 328.9)
-
Step 950
950
#321F31
oklch(27.1% 0.042 328.5)
#804A7E 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) | #475980 | 0.098 |
| Deuteranopia (no green cones) | #55607C | 0.090 |
| Tritanopia (no blue cones) | #834F5E | 0.058 |
| Achromatopsia (no color) | #5D5D5D | 0.104 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #804A7E
#804A7E
oklch(49.2% 0.103 328.3)
- #31713E
#31713E
oklch(49.3% 0.104 148.2)
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 #804A7E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Eggplant #894585 ΔE 0.024
- Dull Purple #84597E ΔE 0.041
- Muted Purple #805B87 ΔE 0.043
- Dark Mauve #874C62 ΔE 0.050
- Dusky Purple #895B7B ΔE 0.051
- Dusty Purple #825F87 ΔE 0.054
- Light Plum #9D5783 ΔE 0.067
- Warm Purple #952E8F ΔE 0.074
Use #804A7E 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.