#9877BD
Closest named color: Deep Lilac (#966EBD). oklch(62.8% 0.108 305.2), rgb(152, 119, 189).
Aa
Black text reads best on this color (5.70:1).
About this color
#9877BD is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.108 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.024 away. Black text reads best on it, at 5.70:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | moderately saturated (0.108) |
| Temperature | in between |
| Nearest name | Deep Lilac (#966EBD) |
| Black text | 5.70:1 |
| White text | 3.67:1 |
Values
| HEX | #9877BD |
| RGB | rgb(152, 119, 189) |
| HSL | hsl(268, 35%, 60%) |
| OKLCH | oklch(62.8% 0.108 305.2) |
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 #9877BD | 3.67:1 | AA large text | Lc -69.8 | Content text, not long reading |
| Black text on #9877BD | 5.70:1 | AA | Lc 39.8 | Non-text elements, placeholder text |
| #9877BD text on white | 3.67:1 | AA large text | Lc 64.3 | Content text, not long reading |
| #9877BD text on black | 5.70:1 | AA | Lc -37.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
#F6F4F9
oklch(97% 0.007 304.2)
-
Step 100
100
#ECE7F2
oklch(93.5% 0.016 306.4)
-
Step 200
200
#DDD5E9
oklch(88.5% 0.028 303.9)
-
Step 300
300
#C8B8DD
oklch(80.8% 0.054 304.8)
-
Step 400
400
#AD93CB
oklch(70.6% 0.085 305.5)
-
Step 500
500 (this color)
#9877BD
oklch(62.8% 0.108 305.2)
-
Step 600
600
#8460AA
oklch(55.7% 0.117 305.3)
-
Step 700
700
#6F4F92
oklch(49.1% 0.109 304.7)
-
Step 800
800
#5B4176
oklch(42.7% 0.09 305.5)
-
Step 900
900
#4A3760
oklch(37.6% 0.072 304.5)
-
Step 950
950
#2C2138
oklch(27.2% 0.044 305.6)
#9877BD 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) | #6884C0 | 0.073 |
| Deuteranopia (no green cones) | #6F85BB | 0.067 |
| Tritanopia (no blue cones) | #928291 | 0.082 |
| Achromatopsia (no color) | #858585 | 0.109 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9877BD
#9877BD
oklch(62.8% 0.108 305.2)
- #799447
#799447
oklch(62.8% 0.109 125.4)
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 #9877BD, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lilac #966EBD ΔE 0.024
- Soft Purple #A66FB5 ΔE 0.029
- Wisteria #A87DC2 ΔE 0.032
- Dark Lilac #9C6DA5 ΔE 0.039
- Medium Purple #9370DB ΔE 0.053
- Heather #A484AC ΔE 0.054
- Faded Purple #916E99 ΔE 0.057
- Amethyst #9B5FC0 ΔE 0.060
Use #9877BD 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.