#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
RGBrgb(158, 152, 162)
HSLhsl(276, 5%, 62%)
HSVhsv(276, 6%, 64%)
CMYKcmyk(2.5%, 6.2%, 0%, 36.5%)
CIE-LABlab(63.62, 4.11, -4.45)
CIE-LCHlch(63.62, 6.05, 312.73°)
OKLaboklab(68.79% 0.0107 -0.0118)
OKLCHoklch(68.79% 0.016 312.2)
XYZxyz(31.8493, 32.3343, 38.7387)
Luminance0.3233 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

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
##9E98A21.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.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

Preview Lab

Preview with #9E98A2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9E98A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva