#8A8C98#8A8C98

#8A8C98 is a light, near-neutral grey. Relative luminance 0.264; OKLCH L 64.2% C 0.018 H 278.3°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#8A8C98
RGBrgb(138, 140, 152)
HSLhsl(231, 6%, 57%)
HSVhsv(231, 9%, 60%)
CMYKcmyk(9.2%, 7.9%, 0%, 40.4%)
CIE-LABlab(58.44, 1.73, -6.61)
CIE-LCHlch(58.44, 6.84, 284.65°)
OKLaboklab(64.23% 0.0026 -0.0178)
OKLCHoklch(64.23% 0.018 278.3)
XYZxyz(25.5257, 26.4263, 33.4557)
Luminance0.2643 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8C98 #98968A
analogous
#8A9398 #8A8C98 #8F8A98
triadic
#8A8C98 #988A8C #8C988A
tetradic
#8A8C98 #988A93 #98968A #8A988F
square
#8A8C98 #988A93 #98968A #8A988F
split-complementary
#8A8C98 #988F8A #93988A
monochromatic
#4E5059 #6B6D7A #8A8C98 #ABACB5 #CBCCD1

Accessibility & contrast

On white

3.34
#8A8C98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#8A8C98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8C98
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8C98#FFFFFF#000000##000000
##8A8C981.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#898D99
Deuteranopia (green-blind)
#888C98
Tritanopia (blue-blind)
#878E90
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a8c98;
/* rgb */ color: rgb(138, 140, 152);
/* oklch */ color: oklch(64.2% 0.018 278.3);
Tailwind
colors: {
  custom: {
    50: '#acadb6',
    500: '#8a8c98',
    950: '#000000',
  },
}
SCSS
$custom: #8a8c98;
$custom-light: #acadb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8c98",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 152
  },
  "hsl": {
    "h": 231.429,
    "s": 6.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64234,
    "c": 0.01795,
    "h": 278.3
  },
  "luminance": 0.26426
}

Semantic roles & 50–950 ramp

primary
#8A8C98
secondary
#C2C1BC
accent
#A878AF
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#101011
muted
#7F7F80

Preview Lab

Preview with #8A8C98

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

Preview Lab → · Contrast checker → · Palette generator →

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