#987ECA
Closest named color: Wisteria (#A87DC2). oklch(64.7% 0.114 298.9), rgb(152, 126, 202).
Aa
Black text reads best on this color (6.17:1).
About this color
#987ECA is a medium-light, moderately saturated purple. In OKLCH its lightness is 65%, its chroma 0.114 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.028 away. Black text reads best on it, at 6.17:1.
| Hue family | Purples |
| Lightness | medium-light (65%) |
| Chroma | moderately saturated (0.114) |
| Temperature | in between |
| Nearest name | Wisteria (#A87DC2) |
| Black text | 6.17:1 |
| White text | 3.40:1 |
Values
| HEX | #987ECA |
| RGB | rgb(152, 126, 202) |
| HSL | hsl(261, 42%, 64%) |
| OKLCH | oklch(64.7% 0.114 298.9) |
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 #987ECA | 3.40:1 | AA large text | Lc -66.9 | Content text, not long reading |
| Black text on #987ECA | 6.17:1 | AA | Lc 42.6 | Non-text elements, placeholder text |
| #987ECA text on white | 3.40:1 | AA large text | Lc 61.4 | Content text, not long reading |
| #987ECA text on black | 6.17:1 | AA | Lc -40.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
#F6F4FA
oklch(97% 0.008 301.4)
-
Step 100
100
#EBE8F3
oklch(93.7% 0.015 298.6)
-
Step 200
200
#DBD5EB
oklch(88.4% 0.031 298.2)
-
Step 300
300
#C5B9E0
oklch(80.8% 0.056 299.2)
-
Step 400
400
#A894D1
oklch(70.6% 0.09 299.1)
-
Step 500
500 (this color)
#987ECA
oklch(64.7% 0.114 298.9)
-
Step 600
600
#7E61B1
oklch(55.6% 0.123 299.1)
-
Step 700
700
#6A5098
oklch(49.1% 0.114 298.8)
-
Step 800
800
#56427C
oklch(42.7% 0.095 298.2)
-
Step 900
900
#473863
oklch(37.7% 0.074 298.9)
-
Step 950
950
#2A213A
oklch(27% 0.047 299.9)
#987ECA 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) | #6B8BCD | 0.067 |
| Deuteranopia (no green cones) | #6F8BC8 | 0.064 |
| Tritanopia (no blue cones) | #8F8B9A | 0.091 |
| Achromatopsia (no color) | #8B8B8B | 0.114 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #987ECA
#987ECA
oklch(64.7% 0.114 298.9)
- #879841
#879841
oklch(64.7% 0.114 119)
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 #987ECA, closest first.
No curated palette has a color within ΔE 0.04 of #987ECA.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Wisteria #A87DC2 ΔE 0.028
- Deep Lilac #966EBD ΔE 0.041
- Soft Purple #A66FB5 ΔE 0.046
- Medium Purple #9370DB ΔE 0.049
- Perrywinkle #8F8CE7 ΔE 0.050
- Heather #A484AC ΔE 0.056
- Dark Lilac #9C6DA5 ΔE 0.062
- Dusty Lavender #AC86A8 ΔE 0.069
Use #987ECA 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.