#9871AE
Closest named color: Dark Lilac (#9C6DA5). oklch(61% 0.1 312.8), rgb(152, 113, 174).
Aa
Black text reads best on this color (5.30:1).
About this color
#9871AE is a medium-dark, moderately saturated purple. In OKLCH its lightness is 61%, its chroma 0.100 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lilac (#9C6DA5), ΔE 0.016 away. Black text reads best on it, at 5.30:1.
| Hue family | Purples |
| Lightness | medium-dark (61%) |
| Chroma | moderately saturated (0.100) |
| Temperature | in between |
| Nearest name | Dark Lilac (#9C6DA5) |
| Black text | 5.30:1 |
| White text | 3.95:1 |
Values
| HEX | #9871AE |
| RGB | rgb(152, 113, 174) |
| HSL | hsl(278, 27%, 56%) |
| OKLCH | oklch(61% 0.1 312.8) |
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 #9871AE | 3.95:1 | AA large text | Lc -72.3 | Content text, not long reading |
| Black text on #9871AE | 5.30:1 | AA | Lc 37.2 | Non-text elements, placeholder text |
| #9871AE text on white | 3.95:1 | AA large text | Lc 66.8 | Content text, not long reading |
| #9871AE text on black | 5.30:1 | AA | Lc -34.8 | Non-text elements, placeholder text |
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 500.
-
Step 50
50
#F7F4F9
oklch(97.1% 0.007 312.3)
-
Step 100
100
#EDE7F1
oklch(93.6% 0.015 312.2)
-
Step 200
200
#DFD4E6
oklch(88.4% 0.027 312.6)
-
Step 300
300
#CCB8D8
oklch(80.9% 0.049 312.9)
-
Step 400
400
#B293C4
oklch(70.8% 0.078 312.9)
-
Step 500
500 (this color)
#9871AE
oklch(61% 0.1 312.8)
-
Step 600
600
#895FA0
oklch(55.5% 0.108 312.9)
-
Step 700
700
#744E89
oklch(49% 0.101 312.7)
-
Step 800
800
#5F406F
oklch(42.6% 0.084 313.5)
-
Step 900
900
#4E375A
oklch(37.8% 0.065 313.5)
-
Step 950
950
#2D2035
oklch(26.9% 0.042 312)
#9871AE 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) | #677EB0 | 0.077 |
| Deuteranopia (no green cones) | #7081AC | 0.071 |
| Tritanopia (no blue cones) | #967988 | 0.069 |
| Achromatopsia (no color) | #808080 | 0.100 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9871AE
#9871AE
oklch(61% 0.1 312.8)
- #6C9050
#6C9050
oklch(61% 0.099 132.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 #9871AE, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Lilac #9C6DA5 ΔE 0.016
- Soft Purple #A66FB5 ΔE 0.027
- Deep Lilac #966EBD ΔE 0.027
- Faded Purple #916E99 ΔE 0.034
- Wisteria #A87DC2 ΔE 0.048
- Dark Lavender #856798 ΔE 0.052
- Heather #A484AC ΔE 0.057
- Amethyst #9B5FC0 ΔE 0.057
Use #9871AE 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.