#9798DC
Closest named color: Perrywinkle (#8F8CE7). oklch(70.5% 0.099 282.9), rgb(151, 152, 220).
Aa
Black text reads best on this color (7.84:1).
About this color
#9798DC is a medium-light, moderately saturated purple. In OKLCH its lightness is 71%, its chroma 0.099 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.041 away. Black text reads best on it, at 7.84:1.
| Hue family | Purples |
| Lightness | medium-light (71%) |
| Chroma | moderately saturated (0.099) |
| Temperature | cool |
| Nearest name | Perrywinkle (#8F8CE7) |
| Black text | 7.84:1 |
| White text | 2.67:1 |
Values
| HEX | #9798DC |
| RGB | rgb(151, 152, 220) |
| HSL | hsl(239, 50%, 73%) |
| OKLCH | oklch(70.5% 0.099 282.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 #9798DC | 2.67:1 | Fails | Lc -57.2 | Large or bold text, headings |
| Black text on #9798DC | 7.84:1 | AAA | Lc 52.0 | Large or bold text, headings |
| #9798DC text on white | 2.67:1 | Fails | Lc 52.0 | Large or bold text, headings |
| #9798DC text on black | 7.84:1 | AAA | Lc -49.9 | 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
#E8E9F6
oklch(93.7% 0.018 282.5)
-
Step 200
200
#D5D7F0
oklch(88.5% 0.034 282)
-
Step 300
300
#BABCE8
oklch(80.8% 0.062 282.9)
-
Step 400
400 (this color)
#9798DC
oklch(70.5% 0.099 282.9)
-
Step 500
500
#7F7ED3
oklch(63.1% 0.126 282.7)
-
Step 600
600
#6A66C0
oklch(55.7% 0.136 283)
-
Step 700
700
#5854A6
oklch(49.1% 0.128 282.8)
-
Step 800
800
#484586
oklch(42.7% 0.105 283.1)
-
Step 900
900
#3C3B6C
oklch(37.8% 0.082 282.6)
-
Step 950
950
#23233F
oklch(27.1% 0.051 282.4)
#9798DC 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) | #84A0DF | 0.030 |
| Deuteranopia (no green cones) | #819CDA | 0.030 |
| Tritanopia (no blue cones) | #86A4B0 | 0.086 |
| Achromatopsia (no color) | #9E9E9E | 0.099 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9798DC
#9798DC
oklch(70.5% 0.099 282.9)
- #ABA356
#ABA356
oklch(70.6% 0.099 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 #9798DC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Perrywinkle #8F8CE7 ΔE 0.041
- Periwinkle Blue #8F99FB ΔE 0.046
- Pale Purple #B790D4 ΔE 0.049
- Lavender Blue #8B88F8 ΔE 0.068
- Cornflower Blue #6495ED ΔE 0.068
- Wisteria #A87DC2 ΔE 0.072
- Cool Gray #8D99AE ΔE 0.073
- Heather #A484AC ΔE 0.077
Use #9798DC 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.