#9877BA
Closest named color: Deep Lilac (#966EBD). oklch(62.7% 0.104 306.2), rgb(152, 119, 186).
Aa
Black text reads best on this color (5.68:1).
About this color
#9877BA is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.104 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.68:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | moderately saturated (0.104) |
| Temperature | in between |
| Nearest name | Deep Lilac (#966EBD) |
| Black text | 5.68:1 |
| White text | 3.69:1 |
Values
| HEX | #9877BA |
| RGB | rgb(152, 119, 186) |
| HSL | hsl(270, 33%, 60%) |
| OKLCH | oklch(62.7% 0.104 306.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 #9877BA | 3.69:1 | AA large text | Lc -69.9 | Content text, not long reading |
| Black text on #9877BA | 5.68:1 | AA | Lc 39.6 | Non-text elements, placeholder text |
| #9877BA text on white | 3.69:1 | AA large text | Lc 64.5 | Content text, not long reading |
| #9877BA text on black | 5.68:1 | AA | Lc -37.2 | 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
#DED5E8
oklch(88.6% 0.027 307)
-
Step 300
300
#C9B9DB
oklch(81% 0.05 306.5)
-
Step 400
400
#AD94C9
oklch(70.7% 0.081 305.9)
-
Step 500
500 (this color)
#9877BA
oklch(62.7% 0.104 306.2)
-
Step 600
600
#8460A7
oklch(55.5% 0.113 306.4)
-
Step 700
700
#704F90
oklch(49.1% 0.107 306.3)
-
Step 800
800
#5B4175
oklch(42.7% 0.088 306)
-
Step 900
900
#4B375E
oklch(37.6% 0.069 306.9)
-
Step 950
950
#2C2137
oklch(27.1% 0.042 306.7)
#9877BA 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) | #6984BD | 0.072 |
| Deuteranopia (no green cones) | #7085B8 | 0.067 |
| Tritanopia (no blue cones) | #938190 | 0.078 |
| Achromatopsia (no color) | #858585 | 0.105 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9877BA
#9877BA
oklch(62.7% 0.104 306.2)
- #78944B
#78944B
oklch(62.8% 0.105 126.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 #9877BA, closest first.
No curated palette has a color within ΔE 0.04 of #9877BA.
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.028
- Wisteria #A87DC2 ΔE 0.033
- Dark Lilac #9C6DA5 ΔE 0.036
- Heather #A484AC ΔE 0.051
- Faded Purple #916E99 ΔE 0.052
- Medium Purple #9370DB ΔE 0.058
- Amethyst #9B5FC0 ΔE 0.061
Use #9877BA 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.