#9870AB
Closest named color: Dark Lilac (#9C6DA5). oklch(60.7% 0.098 314.5), rgb(152, 112, 171).
Aa
Black text reads best on this color (5.24:1).
About this color
#9870AB is a medium-dark, moderately saturated purple. In OKLCH its lightness is 61%, its chroma 0.098 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lilac (#9C6DA5), ΔE 0.012 away. Black text reads best on it, at 5.24:1.
| Hue family | Purples |
| Lightness | medium-dark (61%) |
| Chroma | moderately saturated (0.098) |
| Temperature | in between |
| Nearest name | Dark Lilac (#9C6DA5) |
| Black text | 5.24:1 |
| White text | 4.00:1 |
Values
| HEX | #9870AB |
| RGB | rgb(152, 112, 171) |
| HSL | hsl(281, 26%, 55%) |
| OKLCH | oklch(60.7% 0.098 314.5) |
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 #9870AB | 4.00:1 | AA large text | Lc -72.8 | Content text, not long reading |
| Black text on #9870AB | 5.24:1 | AA | Lc 36.8 | Non-text elements, placeholder text |
| #9870AB text on white | 4.00:1 | AA large text | Lc 67.3 | Content text, not long reading |
| #9870AB text on black | 5.24:1 | AA | Lc -34.4 | 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
#F7F4F8
oklch(97.1% 0.006 317.8)
-
Step 100
100
#EDE7F0
oklch(93.5% 0.014 314.8)
-
Step 200
200
#E0D4E6
oklch(88.5% 0.028 314.7)
-
Step 300
300
#CCB8D7
oklch(80.9% 0.048 313.7)
-
Step 400
400
#B293C2
oklch(70.7% 0.075 314)
-
Step 500
500 (this color)
#9870AB
oklch(60.7% 0.098 314.5)
-
Step 600
600
#8A5F9E
oklch(55.5% 0.106 314.5)
-
Step 700
700
#754E87
oklch(49% 0.099 314.5)
-
Step 800
800
#5F406E
oklch(42.6% 0.083 314.1)
-
Step 900
900
#4E3759
oklch(37.7% 0.063 314.4)
-
Step 950
950
#2E2034
oklch(27% 0.041 315.5)
#9870AB 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) | #677DAD | 0.077 |
| Deuteranopia (no green cones) | #7080A9 | 0.071 |
| Tritanopia (no blue cones) | #977886 | 0.067 |
| Achromatopsia (no color) | #7F7F7F | 0.098 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9870AB
#9870AB
oklch(60.7% 0.098 314.5)
- #698F52
#698F52
oklch(60.6% 0.097 134.5)
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 #9870AB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Lilac #9C6DA5 ΔE 0.012
- Soft Purple #A66FB5 ΔE 0.029
- Deep Lilac #966EBD ΔE 0.030
- Faded Purple #916E99 ΔE 0.030
- Dark Lavender #856798 ΔE 0.048
- Wisteria #A87DC2 ΔE 0.052
- Deep Lavender #8D5EB7 ΔE 0.058
- Heather #A484AC ΔE 0.058
Use #9870AB 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.