#9F98EA
Closest named color: Periwinkle Blue (#8F99FB). oklch(71.8% 0.118 286.9), rgb(159, 152, 234).
Aa
Black text reads best on this color (8.15:1).
About this color
#9F98EA is a medium-light, moderately saturated purple. In OKLCH its lightness is 72%, its chroma 0.118 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.032 away. Black text reads best on it, at 8.15:1.
| Hue family | Purples |
| Lightness | medium-light (72%) |
| Chroma | moderately saturated (0.118) |
| Temperature | cool |
| Nearest name | Periwinkle Blue (#8F99FB) |
| Black text | 8.15:1 |
| White text | 2.57:1 |
Values
| HEX | #9F98EA |
| RGB | rgb(159, 152, 234) |
| HSL | hsl(245, 66%, 76%) |
| OKLCH | oklch(71.8% 0.118 286.9) |
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 #9F98EA | 2.57:1 | Fails | Lc -55.4 | Large or bold text, headings |
| Black text on #9F98EA | 8.15:1 | AAA | Lc 53.7 | Large or bold text, headings |
| #9F98EA text on white | 2.57:1 | Fails | Lc 50.3 | Large or bold text, headings |
| #9F98EA text on black | 8.15:1 | AAA | Lc -51.6 | 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
#F5F5FC
oklch(97.2% 0.009 286.2)
-
Step 100
100
#E8E8F8
oklch(93.6% 0.022 286)
-
Step 200
200
#D7D6F4
oklch(88.6% 0.041 287.1)
-
Step 300
300
#BDBAEF
oklch(80.9% 0.074 287.2)
-
Step 400
400 (this color)
#9F98EA
oklch(71.8% 0.118 286.9)
-
Step 500
500
#8578DF
oklch(63.1% 0.151 287)
-
Step 600
600
#705FCD
oklch(55.7% 0.164 286.9)
-
Step 700
700
#5E4DB1
oklch(49.1% 0.153 287.2)
-
Step 800
800
#4C408F
oklch(42.7% 0.126 286.8)
-
Step 900
900
#3F3772
oklch(37.6% 0.098 286.9)
-
Step 950
950
#252143
oklch(27.1% 0.062 286.9)
#9F98EA 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) | #80A3ED | 0.046 |
| Deuteranopia (no green cones) | #7E9FE8 | 0.045 |
| Tritanopia (no blue cones) | #8CA7B6 | 0.101 |
| Achromatopsia (no color) | #A1A1A1 | 0.118 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9F98EA
#9F98EA
oklch(71.8% 0.118 286.9)
- #ADA949
#ADA949
oklch(71.9% 0.118 106.8)
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 #9F98EA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Periwinkle Blue #8F99FB ΔE 0.032
- Perrywinkle #8F8CE7 ΔE 0.040
- Pale Purple #B790D4 ΔE 0.047
- Lavender Blue #8B88F8 ΔE 0.059
- Liliac #C48EFD ΔE 0.068
- Baby Purple #CA9BF7 ΔE 0.068
- Periwinkle #8E82FE ΔE 0.074
- Pastel Purple #CAA0FF ΔE 0.075
Use #9F98EA 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.