#987ED8
Closest named color: Medium Purple (#9370DB). oklch(65.4% 0.133 295.8), rgb(152, 126, 216).
Aa
Black text reads best on this color (6.31:1).
About this color
#987ED8 is a medium-light, moderately saturated purple. In OKLCH its lightness is 65%, its chroma 0.133 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.037 away. Black text reads best on it, at 6.31:1.
| Hue family | Purples |
| Lightness | medium-light (65%) |
| Chroma | moderately saturated (0.133) |
| Temperature | in between |
| Nearest name | Medium Purple (#9370DB) |
| Black text | 6.31:1 |
| White text | 3.32:1 |
Values
| HEX | #987ED8 |
| RGB | rgb(152, 126, 216) |
| HSL | hsl(257, 54%, 67%) |
| OKLCH | oklch(65.4% 0.133 295.8) |
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 #987ED8 | 3.32:1 | AA large text | Lc -66.0 | Content text, not long reading |
| Black text on #987ED8 | 6.31:1 | AA | Lc 43.5 | Non-text elements, placeholder text |
| #987ED8 text on white | 3.32:1 | AA large text | Lc 60.6 | Content text, not long reading |
| #987ED8 text on black | 6.31: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
#F6F4FB
oklch(97.1% 0.009 299.2)
-
Step 100
100
#EBE8F5
oklch(93.7% 0.018 296.6)
-
Step 200
200
#DBD5EF
oklch(88.6% 0.036 296.2)
-
Step 300
300
#C4B9E7
oklch(81% 0.065 295.9)
-
Step 400
400
#A693DA
oklch(70.7% 0.104 295.9)
-
Step 500
500 (this color)
#987ED8
oklch(65.4% 0.133 295.8)
-
Step 600
600
#7C5EBD
oklch(55.6% 0.144 295.9)
-
Step 700
700
#694DA3
oklch(49.1% 0.134 296.1)
-
Step 800
800
#554084
oklch(42.8% 0.11 295.6)
-
Step 900
900
#46376A
oklch(37.8% 0.086 295.6)
-
Step 950
950
#29203E
oklch(27% 0.055 296.3)
#987ED8 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) | #648DDB | 0.075 |
| Deuteranopia (no green cones) | #688CD6 | 0.071 |
| Tritanopia (no blue cones) | #8A8EA1 | 0.106 |
| Achromatopsia (no color) | #8D8D8D | 0.133 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #987ED8
#987ED8
oklch(65.4% 0.133 295.8)
- #8D9A2A
#8D9A2A
oklch(65.5% 0.133 116)
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 #987ED8, closest first.
No curated palette has a color within ΔE 0.04 of #987ED8.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Purple #9370DB ΔE 0.037
- Perrywinkle #8F8CE7 ΔE 0.038
- Wisteria #A87DC2 ΔE 0.041
- Deep Lilac #966EBD ΔE 0.051
- Lavender Blue #8B88F8 ΔE 0.052
- Periwinkle #8E82FE ΔE 0.057
- Soft Purple #A66FB5 ΔE 0.060
- Pale Purple #B790D4 ΔE 0.072
Use #987ED8 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.