#9897FA
Closest named color: Periwinkle Blue (#8F99FB). oklch(71.9% 0.142 282.7), rgb(152, 151, 250).
Aa
Black text reads best on this color (8.14:1).
About this color
#9897FA is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.142 and its hue 283°. 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.14:1.
| Hue family | Purples |
| Lightness | medium-light (72%) |
| Chroma | vivid (0.142) |
| Temperature | cool |
| Nearest name | Periwinkle Blue (#8F99FB) |
| Black text | 8.14:1 |
| White text | 2.57:1 |
Values
| HEX | #9897FA |
| RGB | rgb(152, 151, 250) |
| HSL | hsl(241, 91%, 79%) |
| OKLCH | oklch(71.9% 0.142 282.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 #9897FA | 2.57:1 | Fails | Lc -55.5 | Large or bold text, headings |
| Black text on #9897FA | 8.14:1 | AAA | Lc 53.7 | Large or bold text, headings |
| #9897FA text on white | 2.57:1 | Fails | Lc 50.3 | Large or bold text, headings |
| #9897FA text on black | 8.14: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
#F4F5FE
oklch(97.2% 0.012 281.1)
-
Step 100
100
#E7E8FB
oklch(93.6% 0.026 283.5)
-
Step 200
200
#D4D6FA
oklch(88.6% 0.049 282.8)
-
Step 300
300
#B8BAF9
oklch(81% 0.089 282.8)
-
Step 400
400 (this color)
#9897FA
oklch(71.9% 0.142 282.7)
-
Step 500
500
#7D75F2
oklch(63.1% 0.182 282.8)
-
Step 600
600
#685AE1
oklch(55.7% 0.198 282.6)
-
Step 700
700
#5748C3
oklch(49% 0.184 282.8)
-
Step 800
800
#473C9E
oklch(42.6% 0.153 282.9)
-
Step 900
900
#3B357D
oklch(37.7% 0.118 282.9)
-
Step 950
950
#222049
oklch(27% 0.074 282.5)
#9897FA 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) | #75A5FE | 0.051 |
| Deuteranopia (no green cones) | #719EF8 | 0.050 |
| Tritanopia (no blue cones) | #7BAABD | 0.122 |
| Achromatopsia (no color) | #A1A1A1 | 0.143 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9897FA
#9897FA
oklch(71.9% 0.142 282.7)
- #B5A721
#B5A721
oklch(71.9% 0.143 103)
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 #9897FA, 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.039
- Lavender Blue #8B88F8 ΔE 0.044
- Periwinkle #8E82FE ΔE 0.057
- Liliac #C48EFD ΔE 0.067
- Cornflower Blue #6495ED ΔE 0.069
- Pale Purple #B790D4 ΔE 0.069
- Baby Purple #CA9BF7 ΔE 0.076
Use #9897FA 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.