#9877BB
Closest named color: Deep Lilac (#966EBD). oklch(62.7% 0.106 305.9), rgb(152, 119, 187).
Aa
Black text reads best on this color (5.69:1).
About this color
#9877BB is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.106 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.025 away. Black text reads best on it, at 5.69:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | moderately saturated (0.106) |
| Temperature | in between |
| Nearest name | Deep Lilac (#966EBD) |
| Black text | 5.69:1 |
| White text | 3.68:1 |
Values
| HEX | #9877BB |
| RGB | rgb(152, 119, 187) |
| HSL | hsl(269, 33%, 60%) |
| OKLCH | oklch(62.7% 0.106 305.9) |
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 #9877BB | 3.68:1 | AA large text | Lc -69.9 | Content text, not long reading |
| Black text on #9877BB | 5.69:1 | AA | Lc 39.7 | Non-text elements, placeholder text |
| #9877BB text on white | 3.68:1 | AA large text | Lc 64.4 | Content text, not long reading |
| #9877BB text on black | 5.69:1 | AA | Lc -37.3 | 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
#F6F4F9
oklch(97% 0.007 304.2)
-
Step 100
100
#ECE7F2
oklch(93.5% 0.016 306.4)
-
Step 200
200
#DED5E9
oklch(88.6% 0.029 306)
-
Step 300
300
#C9B9DC
oklch(81% 0.051 305.9)
-
Step 400
400
#AD93CA
oklch(70.6% 0.084 305.9)
-
Step 500
500 (this color)
#9877BB
oklch(62.7% 0.106 305.9)
-
Step 600
600
#8460A8
oklch(55.6% 0.115 306)
-
Step 700
700
#704F90
oklch(49.1% 0.107 306.3)
-
Step 800
800
#5B4175
oklch(42.7% 0.088 306)
-
Step 900
900
#4B375F
oklch(37.7% 0.071 306.3)
-
Step 950
950
#2C2137
oklch(27.1% 0.042 306.7)
#9877BB 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) | #6984BE | 0.072 |
| Deuteranopia (no green cones) | #7085B9 | 0.066 |
| Tritanopia (no blue cones) | #938190 | 0.079 |
| Achromatopsia (no color) | #858585 | 0.106 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9877BB
#9877BB
oklch(62.7% 0.106 305.9)
- #799449
#799449
oklch(62.8% 0.107 125.7)
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 #9877BB, closest first.
No curated palette has a color within ΔE 0.04 of #9877BB.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lilac #966EBD ΔE 0.025
- Soft Purple #A66FB5 ΔE 0.029
- Wisteria #A87DC2 ΔE 0.032
- Dark Lilac #9C6DA5 ΔE 0.037
- Heather #A484AC ΔE 0.052
- Faded Purple #916E99 ΔE 0.054
- Medium Purple #9370DB ΔE 0.056
- Amethyst #9B5FC0 ΔE 0.061
Use #9877BB 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.