#979FA2#979FA2

#979FA2 is a light, near-neutral grey. Relative luminance 0.340; OKLCH L 69.7% C 0.010 H 222.1°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#979FA2
RGBrgb(151, 159, 162)
HSLhsl(196, 6%, 61%)
HSVhsv(196, 7%, 64%)
CMYKcmyk(6.8%, 1.9%, 0%, 36.5%)
CIE-LABlab(64.95, -2.25, -2.55)
CIE-LCHlch(64.95, 3.40, 228.60°)
OKLaboklab(69.7% -0.0076 -0.0068)
OKLCHoklch(69.7% 0.01 222.1)
XYZxyz(31.6809, 33.9839, 39.0659)
Luminance0.3398 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979FA2 #A29A97
analogous
#97A2A0 #979FA2 #979AA2
triadic
#979FA2 #A2979F #9FA297
tetradic
#979FA2 #A097A2 #A29A97 #9AA297
square
#979FA2 #A097A2 #A29A97 #9AA297
split-complementary
#979FA2 #A2979A #A2A097
monochromatic
#5A6265 #778185 #979FA2 #B7BDBF #D8DBDC

Accessibility & contrast

On white

2.69
#979FA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#979FA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979FA2
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979FA2#FFFFFF#000000##000000
##979FA21.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D9EA2
Deuteranopia (green-blind)
#9B9DA2
Tritanopia (blue-blind)
#94A0A0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #979fa2;
/* rgb */ color: rgb(151, 159, 162);
/* oklch */ color: oklch(69.7% 0.010 222.1);
Tailwind
colors: {
  custom: {
    50: '#b5bbbd',
    500: '#979fa2',
    950: '#000000',
  },
}
SCSS
$custom: #979fa2;
$custom-light: #b5bbbd;
$custom-dark: #000000;
JSON
{
  "hex": "#979fa2",
  "rgb": {
    "r": 151,
    "g": 159,
    "b": 162
  },
  "hsl": {
    "h": 196.364,
    "s": 5.584,
    "l": 61.373
  },
  "oklch": {
    "l": 0.69698,
    "c": 0.01019,
    "h": 222.1
  },
  "luminance": 0.33984
}

Semantic roles & 50–950 ramp

primary
#979FA2
secondary
#CCC9C8
accent
#66568F
background
#FBFBFB
surface
#F6F6F6
border
#D0D0D0
text
#111112
muted
#808081

Preview Lab

Preview with #979FA2

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

Preview Lab → · Contrast checker → · Palette generator →

#979FA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva