#9D8DEF
Closest named color: Perrywinkle (#8F8CE7). oklch(69.8% 0.141 289.7), rgb(157, 141, 239).
Aa
Black text reads best on this color (7.48:1).
About this color
#9D8DEF is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.141 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.024 away. Black text reads best on it, at 7.48:1.
| Hue family | Purples |
| Lightness | medium-light (70%) |
| Chroma | vivid (0.141) |
| Temperature | cool |
| Nearest name | Perrywinkle (#8F8CE7) |
| Black text | 7.48:1 |
| White text | 2.80:1 |
Values
| HEX | #9D8DEF |
| RGB | rgb(157, 141, 239) |
| HSL | hsl(250, 75%, 75%) |
| OKLCH | oklch(69.8% 0.141 289.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 #9D8DEF | 2.80:1 | Fails | Lc -59.1 | Large or bold text, headings |
| Black text on #9D8DEF | 7.48:1 | AAA | Lc 50.2 | Large or bold text, headings |
| #9D8DEF text on white | 2.80:1 | Fails | Lc 53.8 | Large or bold text, headings |
| #9D8DEF text on black | 7.48:1 | AAA | Lc -48.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
#F5F4FD
oklch(97% 0.012 291.3)
-
Step 100
100
#E9E7FA
oklch(93.5% 0.026 290.7)
-
Step 200
200
#D8D4F8
oklch(88.4% 0.049 290.4)
-
Step 300
300
#BFB7F6
oklch(80.8% 0.088 290.1)
-
Step 400
400 (this color)
#9D8DEF
oklch(69.8% 0.141 289.7)
-
Step 500
500
#8A71ED
oklch(63.1% 0.179 289.5)
-
Step 600
600
#7655DC
oklch(55.7% 0.196 289.7)
-
Step 700
700
#6344BF
oklch(49.1% 0.183 289.5)
-
Step 800
800
#51399A
oklch(42.7% 0.151 289.9)
-
Step 900
900
#42327B
oklch(37.6% 0.119 289.5)
-
Step 950
950
#271E48
oklch(27% 0.075 290.3)
#9D8DEF 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) | #6E9CF3 | 0.066 |
| Deuteranopia (no green cones) | #6E98ED | 0.064 |
| Tritanopia (no blue cones) | #899FB3 | 0.117 |
| Achromatopsia (no color) | #9A9A9A | 0.142 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9D8DEF
#9D8DEF
oklch(69.8% 0.141 289.7)
- #A4A524
#A4A524
oklch(69.9% 0.142 110)
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 #9D8DEF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Perrywinkle #8F8CE7 ΔE 0.024
- Lavender Blue #8B88F8 ΔE 0.034
- Periwinkle Blue #8F99FB ΔE 0.035
- Periwinkle #8E82FE ΔE 0.045
- Pale Purple #B790D4 ΔE 0.058
- Liliac #C48EFD ΔE 0.064
- Wisteria #A87DC2 ΔE 0.071
- Light Purple #BF77F6 ΔE 0.072
Use #9D8DEF 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.