#9898FA
Closest named color: Periwinkle Blue (#8F99FB). oklch(72.1% 0.141 282.3), rgb(152, 152, 250).
Aa
Black text reads best on this color (8.20:1).
About this color
#9898FA is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.141 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.012 away. Black text reads best on it, at 8.20:1.
| Hue family | Purples |
| Lightness | medium-light (72%) |
| Chroma | vivid (0.141) |
| Temperature | cool |
| Nearest name | Periwinkle Blue (#8F99FB) |
| Black text | 8.20:1 |
| White text | 2.55:1 |
Values
| HEX | #9898FA |
| RGB | rgb(152, 152, 250) |
| HSL | hsl(240, 91%, 79%) |
| OKLCH | oklch(72.1% 0.141 282.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 #9898FA | 2.55:1 | Fails | Lc -55.1 | Large or bold text, headings |
| Black text on #9898FA | 8.20:1 | AAA | Lc 54.0 | Large or bold text, headings |
| #9898FA text on white | 2.55:1 | Fails | Lc 50.0 | Large or bold text, headings |
| #9898FA text on black | 8.20:1 | AAA | Lc -52.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
#F4F5FD
oklch(97.2% 0.011 280.5)
-
Step 100
100
#E7E8FB
oklch(93.6% 0.026 283.5)
-
Step 200
200
#D3D6F9
oklch(88.5% 0.048 281.5)
-
Step 300
300
#B7BAF9
oklch(80.9% 0.089 282.1)
-
Step 400
400 (this color)
#9898FA
oklch(72.1% 0.141 282.3)
-
Step 500
500
#7C76F1
oklch(63.1% 0.179 282.2)
-
Step 600
600
#675AE0
oklch(55.5% 0.196 282.3)
-
Step 700
700
#5649C2
oklch(49% 0.182 282.2)
-
Step 800
800
#463D9D
oklch(42.7% 0.15 282.2)
-
Step 900
900
#3A357D
oklch(37.6% 0.118 282.2)
-
Step 950
950
#222049
oklch(27% 0.074 282.5)
#9898FA 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) | #76A5FE | 0.049 |
| Deuteranopia (no green cones) | #729FF8 | 0.049 |
| Tritanopia (no blue cones) | #7BABBD | 0.122 |
| Achromatopsia (no color) | #A2A2A2 | 0.141 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9898FA
#9898FA
oklch(72.1% 0.141 282.3)
- #B6A725
#B6A725
oklch(72% 0.141 102.3)
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 #9898FA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Periwinkle Blue #8F99FB ΔE 0.012
- Perrywinkle #8F8CE7 ΔE 0.041
- Lavender Blue #8B88F8 ΔE 0.046
- Periwinkle #8E82FE ΔE 0.059
- Liliac #C48EFD ΔE 0.068
- Pale Purple #B790D4 ΔE 0.069
- Cornflower Blue #6495ED ΔE 0.069
- Baby Purple #CA9BF7 ΔE 0.075
Use #9898FA 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.