#987EA8
Closest named color: Heather (#A484AC). oklch(63.2% 0.068 312.3), rgb(152, 126, 168).
Aa
Black text reads best on this color (5.88:1).
About this color
#987EA8 is a medium-light, muted purple. In OKLCH its lightness is 63%, its chroma 0.068 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Heather (#A484AC), ΔE 0.026 away. Black text reads best on it, at 5.88:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | muted (0.068) |
| Temperature | in between |
| Nearest name | Heather (#A484AC) |
| Black text | 5.88:1 |
| White text | 3.56:1 |
Values
| HEX | #987EA8 |
| RGB | rgb(152, 126, 168) |
| HSL | hsl(277, 19%, 58%) |
| OKLCH | oklch(63.2% 0.068 312.3) |
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 #987EA8 | 3.56:1 | AA large text | Lc -68.7 | Content text, not long reading |
| Black text on #987EA8 | 5.88:1 | AA | Lc 40.8 | Non-text elements, placeholder text |
| #987EA8 text on white | 3.56:1 | AA large text | Lc 63.3 | Content text, not long reading |
| #987EA8 text on black | 5.88:1 | AA | Lc -38.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
#F6F5F8
oklch(97.2% 0.004 301.4)
-
Step 100
100
#ECE8EF
oklch(93.6% 0.01 311.2)
-
Step 200
200
#DDD6E2
oklch(88.5% 0.018 311.6)
-
Step 300
300
#C8BBD1
oklch(81% 0.034 311.7)
-
Step 400
400
#AC97B9
oklch(70.6% 0.054 312.5)
-
Step 500
500 (this color)
#987EA8
oklch(63.2% 0.068 312.3)
-
Step 600
600
#826793
oklch(55.7% 0.074 311.9)
-
Step 700
700
#6E557D
oklch(49.1% 0.069 312.4)
-
Step 800
800
#5A4666
oklch(42.8% 0.057 312.4)
-
Step 900
900
#4A3B53
oklch(37.8% 0.044 312.5)
-
Step 950
950
#2B2230
oklch(26.8% 0.028 313.3)
#987EA8 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) | #7886AA | 0.049 |
| Deuteranopia (no green cones) | #7D88A7 | 0.046 |
| Tritanopia (no blue cones) | #97838D | 0.048 |
| Achromatopsia (no color) | #888888 | 0.069 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #987EA8
#987EA8
oklch(63.2% 0.068 312.3)
- #7A9368
#7A9368
oklch(63.2% 0.068 132.6)
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 #987EA8, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Heather #A484AC ΔE 0.026
- Purpley Grey #947E94 ΔE 0.032
- Dusty Lavender #AC86A8 ΔE 0.041
- Dark Lilac #9C6DA5 ΔE 0.044
- Faded Purple #916E99 ΔE 0.046
- Lavender Gray #7E7F9A ΔE 0.047
- Wisteria #A87DC2 ΔE 0.049
- English Lavender #9D8189 ΔE 0.051
Use #987EA8 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.