#978EE5
Closest named color: Perrywinkle (#8F8CE7). oklch(69% 0.126 287.3), rgb(151, 142, 229).
Aa
Black text reads best on this color (7.31:1).
About this color
#978EE5 is a medium-light, moderately saturated purple. In OKLCH its lightness is 69%, its chroma 0.126 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.014 away. Black text reads best on it, at 7.31:1.
| Hue family | Purples |
| Lightness | medium-light (69%) |
| Chroma | moderately saturated (0.126) |
| Temperature | cool |
| Nearest name | Perrywinkle (#8F8CE7) |
| Black text | 7.31:1 |
| White text | 2.87:1 |
Values
| HEX | #978EE5 |
| RGB | rgb(151, 142, 229) |
| HSL | hsl(246, 63%, 73%) |
| OKLCH | oklch(69% 0.126 287.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 #978EE5 | 2.87:1 | Fails | Lc -60.1 | Content text, not long reading |
| Black text on #978EE5 | 7.31:1 | AAA | Lc 49.2 | Large or bold text, headings |
| #978EE5 text on white | 2.87:1 | Fails | Lc 54.8 | Large or bold text, headings |
| #978EE5 text on black | 7.31:1 | AAA | Lc -47.0 | Large or bold text, headings |
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 400.
-
Step 50
50
#F5F4FC
oklch(97% 0.011 292)
-
Step 100
100
#E8E8F9
oklch(93.6% 0.023 286)
-
Step 200
200
#D7D5F5
oklch(88.5% 0.044 288.3)
-
Step 300
300
#BDB9F2
oklch(80.9% 0.08 287.7)
-
Step 400
400 (this color)
#978EE5
oklch(69% 0.126 287.3)
-
Step 500
500
#8676E4
oklch(63.1% 0.161 287.6)
-
Step 600
600
#715CD2
oklch(55.6% 0.175 287.5)
-
Step 700
700
#5F4BB6
oklch(49.2% 0.162 287.5)
-
Step 800
800
#4D3E93
oklch(42.7% 0.134 287.4)
-
Step 900
900
#403675
oklch(37.7% 0.104 287.6)
-
Step 950
950
#252045
oklch(27% 0.067 287.2)
#978EE5 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) | #739BE8 | 0.053 |
| Deuteranopia (no green cones) | #7296E3 | 0.051 |
| Tritanopia (no blue cones) | #839EAF | 0.106 |
| Achromatopsia (no color) | #989898 | 0.127 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #978EE5
#978EE5
oklch(69% 0.126 287.3)
- #A4A036
#A4A036
oklch(68.9% 0.126 107.2)
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 #978EE5, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Perrywinkle #8F8CE7 ΔE 0.014
- Periwinkle Blue #8F99FB ΔE 0.038
- Lavender Blue #8B88F8 ΔE 0.039
- Periwinkle #8E82FE ΔE 0.054
- Pale Purple #B790D4 ΔE 0.055
- Wisteria #A87DC2 ΔE 0.062
- Cornflower Blue #6495ED ΔE 0.064
- Soft Blue #6488EA ΔE 0.071
Use #978EE5 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.