#8A8A97#8A8A97

#8A8A97 is a light, near-neutral grey. Relative luminance 0.258; OKLCH L 63.8% C 0.019 H 285.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8A8A97
RGBrgb(138, 138, 151)
HSLhsl(240, 6%, 57%)
HSVhsv(240, 9%, 59%)
CMYKcmyk(8.6%, 8.6%, 0%, 40.8%)
CIE-LABlab(57.86, 2.65, -6.90)
CIE-LCHlch(57.86, 7.39, 291.03°)
OKLaboklab(63.77% 0.0053 -0.0185)
OKLCHoklch(63.77% 0.019 285.9)
XYZxyz(25.1545, 25.8145, 32.9296)
Luminance0.2581 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A97 #97978A
analogous
#8A9197 #8A8A97 #918A97
triadic
#8A8A97 #978A8A #8A978A
tetradic
#8A8A97 #978A91 #97978A #8A9791
square
#8A8A97 #978A91 #97978A #8A9791
split-complementary
#8A8A97 #97918A #91978A
monochromatic
#4E4E58 #6B6B79 #8A8A97 #AAAAB4 #CBCBD1

Accessibility & contrast

On white

3.41
#8A8A97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#8A8A97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A97
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A97#FFFFFF#000000##000000
##8A8A971.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#878B98
Deuteranopia (green-blind)
#878B97
Tritanopia (blue-blind)
#888C8E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a8a97;
/* rgb */ color: rgb(138, 138, 151);
/* oklch */ color: oklch(63.8% 0.019 285.9);
Tailwind
colors: {
  custom: {
    50: '#acacb5',
    500: '#8a8a97',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a97;
$custom-light: #acacb5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a97",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 151
  },
  "hsl": {
    "h": 240,
    "s": 5.882,
    "l": 56.667
  },
  "oklch": {
    "l": 0.6377,
    "c": 0.01925,
    "h": 285.9
  },
  "luminance": 0.25815
}

Semantic roles & 50–950 ramp

primary
#8A8A97
secondary
#C1C1BC
accent
#AF79AF
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#101011
muted
#7F7F80

Preview Lab

Preview with #8A8A97

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

Preview Lab → · Contrast checker → · Palette generator →

#8A8A97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva