#8A4271
Closest named color: Light Eggplant (#894585). oklch(48.7% 0.115 342.4), rgb(138, 66, 113).
Aa
White text reads best on this color (6.77:1).
About this color
#8A4271 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 49%, its chroma 0.115 and its hue 342°. Its hue sits on the warm side of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.032 away. White text reads best on it, at 6.77:1.
| Hue family | Purples |
| Lightness | medium-dark (49%) |
| Chroma | moderately saturated (0.115) |
| Temperature | warm |
| Nearest name | Light Eggplant (#894585) |
| Black text | 3.09:1 |
| White text | 6.77:1 |
Values
| HEX | #8A4271 |
| RGB | rgb(138, 66, 113) |
| HSL | hsl(321, 35%, 40%) |
| OKLCH | oklch(48.7% 0.115 342.4) |
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 #8A4271 | 6.77:1 | AA | Lc -88.0 | Fine for body text |
| Black text on #8A4271 | 3.09:1 | AA large text | Lc 21.1 | Dividers and decoration only |
| #8A4271 text on white | 6.77:1 | AA | Lc 83.0 | Fine for body text |
| #8A4271 text on black | 3.09:1 | AA large text | Lc -18.9 | 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
#F9F4F7
oklch(97.2% 0.007 340.4)
-
Step 100
100
#F2E6ED
oklch(93.6% 0.016 341.4)
-
Step 200
200
#E8D2DF
oklch(88.6% 0.03 341.4)
-
Step 300
300
#DBB3CA
oklch(80.9% 0.055 342.9)
-
Step 400
400
#C88BB0
oklch(70.8% 0.088 342.6)
-
Step 500
500
#B86C9C
oklch(63% 0.114 342.4)
-
Step 600
600
#A35387
oklch(55.6% 0.124 342.3)
-
Step 700
700 (this color)
#8A4271
oklch(48.7% 0.115 342.4)
-
Step 800
800
#71385D
oklch(42.7% 0.094 342.3)
-
Step 900
900
#5C314C
oklch(37.8% 0.073 342.8)
-
Step 950
950
#361D2D
oklch(27.1% 0.047 341.8)
#8A4271 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) | #475473 | 0.120 |
| Deuteranopia (no green cones) | #5A5F6F | 0.109 |
| Tritanopia (no blue cones) | #924254 | 0.050 |
| Achromatopsia (no color) | #5B5B5B | 0.116 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A4271
#8A4271
oklch(48.7% 0.115 342.4)
- #00714D
#00714D
oklch(48.5% 0.105 162.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 #8A4271, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Eggplant #894585 ΔE 0.032
- Dark Mauve #874C62 ΔE 0.040
- Dull Purple #84597E ΔE 0.055
- Dusky Purple #895B7B ΔE 0.060
- Muted Purple #805B87 ΔE 0.063
- Light Plum #9D5783 ΔE 0.066
- Brownish Purple #76424E ΔE 0.069
- Light Burgundy #A8415B ΔE 0.069
Use #8A4271 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.