#9798DF
Closest named color: Perrywinkle (#8F8CE7). oklch(70.6% 0.103 282.8), rgb(151, 152, 223).
Aa
Black text reads best on this color (7.87:1).
About this color
#9798DF is a medium-light, moderately saturated purple. In OKLCH its lightness is 71%, its chroma 0.103 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.039 away. Black text reads best on it, at 7.87:1.
| Hue family | Purples |
| Lightness | medium-light (71%) |
| Chroma | moderately saturated (0.103) |
| Temperature | cool |
| Nearest name | Perrywinkle (#8F8CE7) |
| Black text | 7.87:1 |
| White text | 2.66:1 |
Values
| HEX | #9798DF |
| RGB | rgb(151, 152, 223) |
| HSL | hsl(239, 53%, 73%) |
| OKLCH | oklch(70.6% 0.103 282.8) |
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 #9798DF | 2.66:1 | Fails | Lc -57.0 | Large or bold text, headings |
| Black text on #9798DF | 7.87:1 | AAA | Lc 52.2 | Large or bold text, headings |
| #9798DF text on white | 2.66:1 | Fails | Lc 51.8 | Large or bold text, headings |
| #9798DF text on black | 7.87:1 | AAA | Lc -50.1 | 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
#D5D7F1
oklch(88.6% 0.036 282.1)
-
Step 300
300
#BABCEA
oklch(80.9% 0.065 282.9)
-
Step 400
400 (this color)
#9798DF
oklch(70.6% 0.103 282.8)
-
Step 500
500
#7F7DD6
oklch(63.1% 0.132 283)
-
Step 600
600
#6965C3
oklch(55.6% 0.142 282.7)
-
Step 700
700
#5853A9
oklch(49.1% 0.134 282.9)
-
Step 800
800
#484489
oklch(42.7% 0.111 283.2)
-
Step 900
900
#3C3A6D
oklch(37.7% 0.086 283.3)
-
Step 950
950
#232240
oklch(26.9% 0.055 283.6)
#9798DF 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) | #83A1E2 | 0.032 |
| Deuteranopia (no green cones) | #809CDD | 0.031 |
| Tritanopia (no blue cones) | #84A5B2 | 0.089 |
| Achromatopsia (no color) | #9E9E9E | 0.103 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9798DF
#9798DF
oklch(70.6% 0.103 282.8)
- #ACA352
#ACA352
oklch(70.6% 0.104 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 #9798DF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Perrywinkle #8F8CE7 ΔE 0.039
- Periwinkle Blue #8F99FB ΔE 0.042
- Pale Purple #B790D4 ΔE 0.050
- Lavender Blue #8B88F8 ΔE 0.065
- Cornflower Blue #6495ED ΔE 0.067
- Wisteria #A87DC2 ΔE 0.073
- Cool Gray #8D99AE ΔE 0.077
- Heather #A484AC ΔE 0.080
Use #9798DF 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.