#9E98A2#9E98A2
#9E98A2 is a light, near-neutral grey. Relative luminance 0.323; OKLCH L 68.8% C 0.016 H 312.2°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #9E98A2 |
|---|---|
| RGB | rgb(158, 152, 162) |
| HSL | hsl(276, 5%, 62%) |
| HSV | hsv(276, 6%, 64%) |
| CMYK | cmyk(2.5%, 6.2%, 0%, 36.5%) |
| CIE-LAB | lab(63.62, 4.11, -4.45) |
| CIE-LCH | lch(63.62, 6.05, 312.73°) |
| OKLab | oklab(68.79% 0.0107 -0.0118) |
| OKLCH | oklch(68.79% 0.016 312.2) |
| XYZ | xyz(31.8493, 32.3343, 38.7387) |
| Luminance | 0.3233 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dark Gray
#A9A9A9
ΔE00 7.92
Warm Grey
#978A84
ΔE00 9.38
Grey
#929591
ΔE00 9.69
Pewter
#899397
ΔE00 10.06
Dove Gray
#B6B8BD
ΔE00 10.15
Cool Gray
#9AA7B0
ΔE00 10.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E98A2 #9CA298
analogous
#9998A2 #9E98A2 #A298A1
triadic
#9E98A2 #A29E98 #98A29E
tetradic
#9E98A2 #A29998 #9CA298 #98A1A2
square
#9E98A2 #A29998 #9CA298 #98A1A2
split-complementary
#9E98A2 #A1A298 #98A299
monochromatic
#615B65 #807885 #9E98A2 #BCB8BF #DBD8DC
Accessibility & contrast
On white
2.81
#9E98A2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.47
#9E98A2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9E98A2
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E98A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E98A2 | 1.00 | 2.81 | 7.47 | 7.47 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#979AA2
Deuteranopia (green-blind)
#989AA2
Tritanopia (blue-blind)
#9E999B
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #9e98a2; /* rgb */ color: rgb(158, 152, 162); /* oklch */ color: oklch(68.8% 0.016 312.2);
Tailwind
colors: {
custom: {
50: '#bab6bd',
500: '#9e98a2',
950: '#000000',
},
}SCSS
$custom: #9e98a2; $custom-light: #bab6bd; $custom-dark: #000000;
JSON
{
"hex": "#9e98a2",
"rgb": {
"r": 158,
"g": 152,
"b": 162
},
"hsl": {
"h": 276,
"s": 5.102,
"l": 61.569
},
"oklch": {
"l": 0.6879,
"c": 0.01596,
"h": 312.2
},
"luminance": 0.32334
}Semantic roles & 50–950 ramp
primary
#9E98A2
secondary
#CBCDC9
accent
#8F576D
background
#FBFBFB
surface
#F6F6F6
border
#D0D0D0
text
#111112
muted
#808081