#9798BB
Closest named color: Cool Gray (#8D99AE). oklch(69.1% 0.051 283.7), rgb(151, 152, 187).
Aa
Black text reads best on this color (7.52:1).
About this color
#9798BB is a medium-light, muted purple. In OKLCH its lightness is 69%, its chroma 0.051 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Cool Gray (#8D99AE), ΔE 0.026 away. Black text reads best on it, at 7.52:1.
| Hue family | Purples |
| Lightness | medium-light (69%) |
| Chroma | muted (0.051) |
| Temperature | cool |
| Nearest name | Cool Gray (#8D99AE) |
| Black text | 7.52:1 |
| White text | 2.79:1 |
Values
| HEX | #9798BB |
| RGB | rgb(151, 152, 187) |
| HSL | hsl(238, 21%, 66%) |
| OKLCH | oklch(69.1% 0.051 283.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 #9798BB | 2.79:1 | Fails | Lc -59.0 | Large or bold text, headings |
| Black text on #9798BB | 7.52:1 | AAA | Lc 50.3 | Large or bold text, headings |
| #9798BB text on white | 2.79:1 | Fails | Lc 53.8 | Large or bold text, headings |
| #9798BB text on black | 7.52:1 | AAA | Lc -48.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
#F5F5F8
oklch(97.1% 0.004 286.3)
-
Step 100
100
#E9E9F0
oklch(93.6% 0.009 286.2)
-
Step 200
200
#D7D8E5
oklch(88.5% 0.018 282.5)
-
Step 300
300
#BDBED5
oklch(80.8% 0.032 283.7)
-
Step 400
400 (this color)
#9798BB
oklch(69.1% 0.051 283.7)
-
Step 500
500
#8485B0
oklch(63.2% 0.064 283.4)
-
Step 600
600
#6E6E9C
oklch(55.7% 0.071 283.9)
-
Step 700
700
#5C5C85
oklch(49.2% 0.065 283.7)
-
Step 800
800
#4B4B6C
oklch(42.7% 0.054 283.9)
-
Step 900
900
#3E3F58
oklch(37.8% 0.043 282.4)
-
Step 950
950
#252533
oklch(27.1% 0.026 284.5)
#9798BB 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) | #8F9CBD | 0.014 |
| Deuteranopia (no green cones) | #8E9ABA | 0.013 |
| Tritanopia (no blue cones) | #8F9EA4 | 0.045 |
| Achromatopsia (no color) | #9B9B9B | 0.051 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9798BB
#9798BB
oklch(69.1% 0.051 283.7)
- #A19E79
#A19E79
oklch(69.2% 0.052 103.8)
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 #9798BB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cool Gray #8D99AE ΔE 0.026
- Bluey Grey #89A0B0 ΔE 0.036
- Bluegrey #85A3B2 ΔE 0.043
- Cool Steel #97A7B3 ΔE 0.047
- Greyblue #77A1B5 ΔE 0.049
- Cool Grey #95A3A6 ΔE 0.051
- Heather #A484AC ΔE 0.053
- Dusty Lavender #AC86A8 ΔE 0.054
Use #9798BB 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.