#987FD2
Closest named color: Wisteria (#A87DC2). oklch(65.3% 0.123 296.7), rgb(152, 127, 210).
Aa
Black text reads best on this color (6.30:1).
About this color
#987FD2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 65%, its chroma 0.123 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.034 away. Black text reads best on it, at 6.30:1.
| Hue family | Purples |
| Lightness | medium-light (65%) |
| Chroma | moderately saturated (0.123) |
| Temperature | in between |
| Nearest name | Wisteria (#A87DC2) |
| Black text | 6.30:1 |
| White text | 3.33:1 |
Values
| HEX | #987FD2 |
| RGB | rgb(152, 127, 210) |
| HSL | hsl(258, 48%, 66%) |
| OKLCH | oklch(65.3% 0.123 296.7) |
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 #987FD2 | 3.33:1 | AA large text | Lc -66.1 | Content text, not long reading |
| Black text on #987FD2 | 6.30:1 | AA | Lc 43.4 | Non-text elements, placeholder text |
| #987FD2 text on white | 3.33:1 | AA large text | Lc 60.6 | Content text, not long reading |
| #987FD2 text on black | 6.30:1 | AA | Lc -41.1 | 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
#EBE8F4
oklch(93.7% 0.016 297.5)
-
Step 200
200
#DBD5ED
oklch(88.5% 0.033 297.2)
-
Step 300
300
#C4B9E4
oklch(80.9% 0.061 296.7)
-
Step 400
400
#A694D6
oklch(70.7% 0.097 296.4)
-
Step 500
500 (this color)
#987FD2
oklch(65.3% 0.123 296.7)
-
Step 600
600
#7C60B7
oklch(55.6% 0.133 296.7)
-
Step 700
700
#694F9E
oklch(49.2% 0.124 296.8)
-
Step 800
800
#554180
oklch(42.7% 0.103 296.4)
-
Step 900
900
#463767
oklch(37.6% 0.081 296.7)
-
Step 950
950
#29213C
oklch(27.1% 0.05 296.6)
#987FD2 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) | #688DD5 | 0.070 |
| Deuteranopia (no green cones) | #6C8CD0 | 0.067 |
| Tritanopia (no blue cones) | #8C8D9E | 0.099 |
| Achromatopsia (no color) | #8D8D8D | 0.123 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #987FD2
#987FD2
oklch(65.3% 0.123 296.7)
- #8C9937
#8C9937
oklch(65.3% 0.123 116.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 #987FD2, closest first.
No curated palette has a color within ΔE 0.04 of #987FD2.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Wisteria #A87DC2 ΔE 0.034
- Perrywinkle #8F8CE7 ΔE 0.041
- Medium Purple #9370DB ΔE 0.044
- Deep Lilac #966EBD ΔE 0.048
- Soft Purple #A66FB5 ΔE 0.055
- Lavender Blue #8B88F8 ΔE 0.059
- Heather #A484AC ΔE 0.066
- Periwinkle #8E82FE ΔE 0.066
Use #987FD2 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.