#8A7C8D#8A7C8D

#8A7C8D is a mid, muted grey. Relative luminance 0.217; OKLCH L 60.5% C 0.030 H 320.3°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8A7C8D
RGBrgb(138, 124, 141)
HSLhsl(289, 7%, 52%)
HSVhsv(289, 12%, 55%)
CMYKcmyk(2.1%, 12.1%, 0%, 44.7%)
CIE-LABlab(53.75, 8.63, -7.23)
CIE-LCHlch(53.75, 11.26, 320.04°)
OKLaboklab(60.46% 0.0232 -0.0193)
OKLCHoklch(60.46% 0.03 320.3)
XYZxyz(22.4959, 21.7419, 28.2056)
Luminance0.2174 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7C8D #7F8D7C
analogous
#827C8D #8A7C8D #8D7C88
triadic
#8A7C8D #8D8A7C #7C8D8A
tetradic
#8A7C8D #8D827C #7F8D7C #7C888D
square
#8A7C8D #8D827C #7F8D7C #7C888D
split-complementary
#8A7C8D #888D7C #7C8D82
monochromatic
#4B424C #6A5F6D #8A7C8D #A79DA9 #C4BDC6

Accessibility & contrast

On white

3.93
#8A7C8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#8A7C8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7C8D
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7C8D#FFFFFF#000000##000000
##8A7C8D1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A7F8E
Deuteranopia (green-blind)
#7D818C
Tritanopia (blue-blind)
#8A7E82
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a7c8d;
/* rgb */ color: rgb(138, 124, 141);
/* oklch */ color: oklch(60.5% 0.030 320.3);
Tailwind
colors: {
  custom: {
    50: '#aca2ae',
    500: '#8a7c8d',
    950: '#000000',
  },
}
SCSS
$custom: #8a7c8d;
$custom-light: #aca2ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7c8d",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 141
  },
  "hsl": {
    "h": 289.412,
    "s": 6.939,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60459,
    "c": 0.03022,
    "h": 320.3
  },
  "luminance": 0.21742
}

Semantic roles & 50–950 ramp

primary
#8A7C8D
secondary
#B0B6AF
accent
#B07882
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100F10
muted
#7F7E7F

Preview Lab

Preview with #8A7C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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