#9888EB
Closest named color: Perrywinkle (#8F8CE7). oklch(68.3% 0.143 289.5), rgb(152, 136, 235).
Aa
Black text reads best on this color (7.05:1).
About this color
#9888EB is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.143 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.017 away. Black text reads best on it, at 7.05:1.
| Hue family | Purples |
| Lightness | medium-light (68%) |
| Chroma | vivid (0.143) |
| Temperature | cool |
| Nearest name | Perrywinkle (#8F8CE7) |
| Black text | 7.05:1 |
| White text | 2.97:1 |
Values
| HEX | #9888EB |
| RGB | rgb(152, 136, 235) |
| HSL | hsl(250, 71%, 73%) |
| OKLCH | oklch(68.3% 0.143 289.5) |
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 #9888EB | 2.97:1 | Fails | Lc -61.6 | Content text, not long reading |
| Black text on #9888EB | 7.05:1 | AAA | Lc 47.8 | Large or bold text, headings |
| #9888EB text on white | 2.97:1 | Fails | Lc 56.2 | Large or bold text, headings |
| #9888EB text on black | 7.05:1 | AAA | Lc -45.5 | 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
#F5F4FD
oklch(97% 0.012 291.3)
-
Step 100
100
#E9E7FB
oklch(93.5% 0.027 290.5)
-
Step 200
200
#D8D4F9
oklch(88.5% 0.051 290.3)
-
Step 300
300
#BFB7F7
oklch(80.8% 0.09 290)
-
Step 400
400 (this color)
#9888EB
oklch(68.3% 0.143 289.5)
-
Step 500
500
#8A70EF
oklch(63.1% 0.183 289.5)
-
Step 600
600
#7554DD
oklch(55.5% 0.199 289.4)
-
Step 700
700
#6343C0
oklch(49% 0.186 289.5)
-
Step 800
800
#51399B
oklch(42.8% 0.152 289.7)
-
Step 900
900
#42327B
oklch(37.6% 0.119 289.5)
-
Step 950
950
#261E48
oklch(26.9% 0.075 289.1)
#9888EB 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) | #6798EF | 0.069 |
| Deuteranopia (no green cones) | #6893E9 | 0.065 |
| Tritanopia (no blue cones) | #839BAE | 0.120 |
| Achromatopsia (no color) | #969696 | 0.144 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9888EB
#9888EB
oklch(68.3% 0.143 289.5)
- #A0A016
#A0A016
oklch(68.4% 0.144 109.7)
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 #9888EB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Perrywinkle #8F8CE7 ΔE 0.017
- Lavender Blue #8B88F8 ΔE 0.027
- Periwinkle #8E82FE ΔE 0.038
- Periwinkle Blue #8F99FB ΔE 0.045
- Medium Purple #9370DB ΔE 0.061
- Wisteria #A87DC2 ΔE 0.065
- Pale Purple #B790D4 ΔE 0.066
- Soft Blue #6488EA ΔE 0.069
Use #9888EB 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.