#9878AA
Closest named color: Dark Lilac (#9C6DA5). oklch(62.1% 0.082 313.1), rgb(152, 120, 170).
Aa
Black text reads best on this color (5.60:1).
About this color
#9878AA is a medium-light, moderately saturated purple. In OKLCH its lightness is 62%, its chroma 0.082 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.028 away. Black text reads best on it, at 5.60:1.
| Hue family | Purples |
| Lightness | medium-light (62%) |
| Chroma | moderately saturated (0.082) |
| Temperature | in between |
| Nearest name | Dark Lilac (#9C6DA5) |
| Black text | 5.60:1 |
| White text | 3.74:1 |
Values
| HEX | #9878AA |
| RGB | rgb(152, 120, 170) |
| HSL | hsl(278, 23%, 57%) |
| OKLCH | oklch(62.1% 0.082 313.1) |
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 #9878AA | 3.74:1 | AA large text | Lc -70.5 | Content text, not long reading |
| Black text on #9878AA | 5.60:1 | AA | Lc 39.1 | Non-text elements, placeholder text |
| #9878AA text on white | 3.74:1 | AA large text | Lc 65.0 | Content text, not long reading |
| #9878AA text on black | 5.60:1 | AA | Lc -36.7 | 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
#EDE8EF
oklch(93.7% 0.011 316.5)
-
Step 200
200
#DED5E4
oklch(88.5% 0.022 312.2)
-
Step 300
300
#CABAD3
oklch(81% 0.039 313.6)
-
Step 400
400
#AF95BE
oklch(70.7% 0.065 313.1)
-
Step 500
500 (this color)
#9878AA
oklch(62.1% 0.082 313.1)
-
Step 600
600
#866398
oklch(55.5% 0.089 313.7)
-
Step 700
700
#715282
oklch(49% 0.083 313.1)
-
Step 800
800
#5C436A
oklch(42.6% 0.07 312.9)
-
Step 900
900
#4C3956
oklch(37.7% 0.054 313.6)
-
Step 950
950
#2C2232
oklch(27.1% 0.032 312.5)
#9878AA 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) | #7082AC | 0.062 |
| Deuteranopia (no green cones) | #7785A8 | 0.058 |
| Tritanopia (no blue cones) | #977E8A | 0.057 |
| Achromatopsia (no color) | #848484 | 0.082 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9878AA
#9878AA
oklch(62.1% 0.082 313.1)
- #73915E
#73915E
oklch(62% 0.081 133.1)
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 #9878AA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Lilac #9C6DA5 ΔE 0.028
- Faded Purple #916E99 ΔE 0.035
- Soft Purple #A66FB5 ΔE 0.038
- Heather #A484AC ΔE 0.039
- Purpley Grey #947E94 ΔE 0.043
- Deep Lilac #966EBD ΔE 0.044
- Wisteria #A87DC2 ΔE 0.046
- Dusty Lavender #AC86A8 ΔE 0.053
Use #9878AA 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.