#8A7C8C#8A7C8C

#8A7C8C is a mid, muted grey. Relative luminance 0.217; OKLCH L 60.4% C 0.029 H 322.0°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8A7C8C
RGBrgb(138, 124, 140)
HSLhsl(293, 7%, 52%)
HSVhsv(293, 11%, 55%)
CMYKcmyk(1.4%, 11.4%, 0%, 45.1%)
CIE-LABlab(53.72, 8.43, -6.70)
CIE-LCHlch(53.72, 10.76, 321.53°)
OKLaboklab(60.42% 0.0229 -0.0178)
OKLCHoklch(60.42% 0.029 322)
XYZxyz(22.4218, 21.7123, 27.8156)
Luminance0.2171 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7C8C #7E8C7C
analogous
#827C8C #8A7C8C #8C7C86
triadic
#8A7C8C #8C8A7C #7C8C8A
tetradic
#8A7C8C #8C827C #7E8C7C #7C868C
square
#8A7C8C #8C827C #7E8C7C #7C868C
split-complementary
#8A7C8C #868C7C #7C8C82
monochromatic
#4A424B #6A5F6C #8A7C8C #A79DA9 #C4BDC5

Accessibility & contrast

On white

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

On black

5.34
#8A7C8C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7C8C
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7C8C#FFFFFF#000000##000000
##8A7C8C1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7F8D
Deuteranopia (green-blind)
#7E818B
Tritanopia (blue-blind)
#8B7D81
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a7c8c;
/* rgb */ color: rgb(138, 124, 140);
/* oklch */ color: oklch(60.4% 0.029 322.0);
Tailwind
colors: {
  custom: {
    50: '#aca2ad',
    500: '#8a7c8c',
    950: '#000000',
  },
}
SCSS
$custom: #8a7c8c;
$custom-light: #aca2ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7c8c",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 140
  },
  "hsl": {
    "h": 292.5,
    "s": 6.504,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60424,
    "c": 0.029,
    "h": 322
  },
  "luminance": 0.21712
}

Semantic roles & 50–950 ramp

primary
#8A7C8C
secondary
#AFB5AE
accent
#B0787F
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100F10
muted
#7F7E7F

Preview Lab

Preview with #8A7C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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