#9877AA
Closest named color: Dark Lilac (#9C6DA5). oklch(62% 0.084 313.3), rgb(152, 119, 170).
Aa
Black text reads best on this color (5.55:1).
About this color
#9877AA is a medium-dark, moderately saturated purple. In OKLCH its lightness is 62%, its chroma 0.084 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.025 away. Black text reads best on it, at 5.55:1.
| Hue family | Purples |
| Lightness | medium-dark (62%) |
| Chroma | moderately saturated (0.084) |
| Temperature | in between |
| Nearest name | Dark Lilac (#9C6DA5) |
| Black text | 5.55:1 |
| White text | 3.78:1 |
Values
| HEX | #9877AA |
| RGB | rgb(152, 119, 170) |
| HSL | hsl(279, 23%, 57%) |
| OKLCH | oklch(62% 0.084 313.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 #9877AA | 3.78:1 | AA large text | Lc -70.8 | Content text, not long reading |
| Black text on #9877AA | 5.55:1 | AA | Lc 38.8 | Non-text elements, placeholder text |
| #9877AA text on white | 3.78:1 | AA large text | Lc 65.3 | Content text, not long reading |
| #9877AA text on black | 5.55:1 | AA | Lc -36.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
#EDE8F0
oklch(93.7% 0.012 313.2)
-
Step 200
200
#DED5E4
oklch(88.5% 0.022 312.2)
-
Step 300
300
#CAB9D4
oklch(80.8% 0.042 313.1)
-
Step 400
400
#AF95BE
oklch(70.7% 0.065 313.1)
-
Step 500
500 (this color)
#9877AA
oklch(62% 0.084 313.3)
-
Step 600
600
#866399
oklch(55.6% 0.091 313.2)
-
Step 700
700
#725283
oklch(49.2% 0.085 313.4)
-
Step 800
800
#5D436A
oklch(42.7% 0.07 314)
-
Step 900
900
#4C3956
oklch(37.7% 0.054 313.6)
-
Step 950
950
#2C2132
oklch(26.8% 0.034 313.4)
#9877AA 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) | #6F81AC | 0.063 |
| Deuteranopia (no green cones) | #7684A8 | 0.060 |
| Tritanopia (no blue cones) | #977D89 | 0.058 |
| Achromatopsia (no color) | #838383 | 0.084 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9877AA
#9877AA
oklch(62% 0.084 313.3)
- #72915C
#72915C
oklch(61.9% 0.084 133)
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 #9877AA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Lilac #9C6DA5 ΔE 0.025
- Faded Purple #916E99 ΔE 0.034
- Soft Purple #A66FB5 ΔE 0.037
- Heather #A484AC ΔE 0.041
- Deep Lilac #966EBD ΔE 0.042
- Purpley Grey #947E94 ΔE 0.044
- Wisteria #A87DC2 ΔE 0.046
- Lavender Gray #7E7F9A ΔE 0.054
Use #9877AA 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.