#9878BC
Closest named color: Deep Lilac (#966EBD). oklch(63% 0.105 305.2), rgb(152, 120, 188).
Aa
Black text reads best on this color (5.74:1).
About this color
#9878BC is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.105 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.027 away. Black text reads best on it, at 5.74:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | moderately saturated (0.105) |
| Temperature | in between |
| Nearest name | Deep Lilac (#966EBD) |
| Black text | 5.74:1 |
| White text | 3.65:1 |
Values
| HEX | #9878BC |
| RGB | rgb(152, 120, 188) |
| HSL | hsl(268, 34%, 60%) |
| OKLCH | oklch(63% 0.105 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 #9878BC | 3.65:1 | AA large text | Lc -69.5 | Content text, not long reading |
| Black text on #9878BC | 5.74:1 | AA | Lc 40.0 | Non-text elements, placeholder text |
| #9878BC text on white | 3.65:1 | AA large text | Lc 64.0 | Content text, not long reading |
| #9878BC text on black | 5.74:1 | AA | Lc -37.6 | 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
#C8B9DC
oklch(80.9% 0.051 304.7)
-
Step 400
400
#AD94CA
oklch(70.8% 0.082 305.5)
-
Step 500
500 (this color)
#9878BC
oklch(63% 0.105 305.2)
-
Step 600
600
#8360A9
oklch(55.5% 0.116 305)
-
Step 700
700
#6F4F91
oklch(49% 0.108 305.1)
-
Step 800
800
#5A4175
oklch(42.6% 0.088 305.1)
-
Step 900
900
#4A385F
oklch(37.8% 0.068 304.6)
-
Step 950
950
#2B2137
oklch(27% 0.042 304.6)
#9878BC 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) | #6985BF | 0.071 |
| Deuteranopia (no green cones) | #7086BA | 0.066 |
| Tritanopia (no blue cones) | #938291 | 0.079 |
| Achromatopsia (no color) | #868686 | 0.106 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9878BC
#9878BC
oklch(63% 0.105 305.2)
- #7A944A
#7A944A
oklch(62.9% 0.105 125.3)
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 #9878BC, closest first.
No curated palette has a color within ΔE 0.04 of #9878BC.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lilac #966EBD ΔE 0.027
- Soft Purple #A66FB5 ΔE 0.030
- Wisteria #A87DC2 ΔE 0.031
- Dark Lilac #9C6DA5 ΔE 0.039
- Heather #A484AC ΔE 0.050
- Faded Purple #916E99 ΔE 0.056
- Medium Purple #9370DB ΔE 0.056
- Amethyst #9B5FC0 ΔE 0.063
Use #9878BC 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.