#9898E2
Closest named color: Perrywinkle (#8F8CE7). oklch(70.9% 0.107 283.3), rgb(152, 152, 226).
Aa
Black text reads best on this color (7.92:1).
About this color
#9898E2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 71%, its chroma 0.107 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.037 away. Black text reads best on it, at 7.92:1.
| Hue family | Purples |
| Lightness | medium-light (71%) |
| Chroma | moderately saturated (0.107) |
| Temperature | cool |
| Nearest name | Perrywinkle (#8F8CE7) |
| Black text | 7.92:1 |
| White text | 2.64:1 |
Values
| HEX | #9898E2 |
| RGB | rgb(152, 152, 226) |
| HSL | hsl(240, 56%, 74%) |
| OKLCH | oklch(70.9% 0.107 283.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 #9898E2 | 2.64:1 | Fails | Lc -56.7 | Large or bold text, headings |
| Black text on #9898E2 | 7.92:1 | AAA | Lc 52.5 | Large or bold text, headings |
| #9898E2 text on white | 2.64:1 | Fails | Lc 51.5 | Large or bold text, headings |
| #9898E2 text on black | 7.92:1 | AAA | Lc -50.4 | 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
#F4F5FB
oklch(97.1% 0.008 278.6)
-
Step 100
100
#E8E8F7
oklch(93.5% 0.02 286)
-
Step 200
200
#D5D7F2
oklch(88.6% 0.037 282.2)
-
Step 300
300
#BABCEB
oklch(81% 0.066 282.9)
-
Step 400
400 (this color)
#9898E2
oklch(70.9% 0.107 283.3)
-
Step 500
500
#7F7CD9
oklch(63% 0.137 283.2)
-
Step 600
600
#6A63C6
oklch(55.5% 0.149 283.6)
-
Step 700
700
#5852AB
oklch(49% 0.138 283.1)
-
Step 800
800
#48448B
oklch(42.8% 0.114 283)
-
Step 900
900
#3C3A6F
oklch(37.8% 0.089 283)
-
Step 950
950
#232241
oklch(27% 0.057 283.4)
#9898E2 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) | #82A1E5 | 0.034 |
| Deuteranopia (no green cones) | #7F9DE0 | 0.034 |
| Tritanopia (no blue cones) | #85A6B3 | 0.093 |
| Achromatopsia (no color) | #9F9F9F | 0.107 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9898E2
#9898E2
oklch(70.9% 0.107 283.3)
- #ADA44F
#ADA44F
oklch(70.9% 0.108 103.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 #9898E2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Perrywinkle #8F8CE7 ΔE 0.037
- Periwinkle Blue #8F99FB ΔE 0.038
- Pale Purple #B790D4 ΔE 0.050
- Lavender Blue #8B88F8 ΔE 0.062
- Cornflower Blue #6495ED ΔE 0.067
- Wisteria #A87DC2 ΔE 0.075
- Periwinkle #8E82FE ΔE 0.078
- Cool Gray #8D99AE ΔE 0.082
Use #9898E2 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.