#987AAA
Closest named color: Dark Lilac (#9C6DA5). oklch(62.5% 0.078 312.5), rgb(152, 122, 170).
Aa
Black text reads best on this color (5.69:1).
About this color
#987AAA is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.078 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lilac (#9C6DA5), ΔE 0.033 away. Black text reads best on it, at 5.69:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | moderately saturated (0.078) |
| Temperature | in between |
| Nearest name | Dark Lilac (#9C6DA5) |
| Black text | 5.69:1 |
| White text | 3.68:1 |
Values
| HEX | #987AAA |
| RGB | rgb(152, 122, 170) |
| HSL | hsl(278, 22%, 57%) |
| OKLCH | oklch(62.5% 0.078 312.5) |
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 #987AAA | 3.68:1 | AA large text | Lc -69.9 | Content text, not long reading |
| Black text on #987AAA | 5.69:1 | AA | Lc 39.7 | Non-text elements, placeholder text |
| #987AAA text on white | 3.68:1 | AA large text | Lc 64.4 | Content text, not long reading |
| #987AAA 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
#F7F4F8
oklch(97.1% 0.006 317.8)
-
Step 100
100
#ECE8EF
oklch(93.6% 0.01 311.2)
-
Step 200
200
#DED5E3
oklch(88.4% 0.021 313.8)
-
Step 300
300
#C9BAD3
oklch(80.9% 0.038 312)
-
Step 400
400
#AE96BD
oklch(70.8% 0.062 312.3)
-
Step 500
500 (this color)
#987AAA
oklch(62.5% 0.078 312.5)
-
Step 600
600
#846497
oklch(55.5% 0.085 312.4)
-
Step 700
700
#705381
oklch(49.1% 0.079 312.5)
-
Step 800
800
#5B4469
oklch(42.6% 0.066 312.1)
-
Step 900
900
#4B3A55
oklch(37.8% 0.05 312.6)
-
Step 950
950
#2C2232
oklch(27.1% 0.032 312.5)
#987AAA 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) | #7384AC | 0.058 |
| Deuteranopia (no green cones) | #7986A8 | 0.055 |
| Tritanopia (no blue cones) | #97808B | 0.055 |
| Achromatopsia (no color) | #858585 | 0.079 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #987AAA
#987AAA
oklch(62.5% 0.078 312.5)
- #769260
#769260
oklch(62.5% 0.079 132.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 #987AAA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Lilac #9C6DA5 ΔE 0.033
- Heather #A484AC ΔE 0.034
- Faded Purple #916E99 ΔE 0.038
- Purpley Grey #947E94 ΔE 0.039
- Soft Purple #A66FB5 ΔE 0.042
- Wisteria #A87DC2 ΔE 0.045
- Deep Lilac #966EBD ΔE 0.049
- Dusty Lavender #AC86A8 ΔE 0.049
Use #987AAA 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.