#8A7C8A#8A7C8A

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

Color values

HEX#8A7C8A
RGBrgb(138, 124, 138)
HSLhsl(300, 6%, 51%)
HSVhsv(300, 10%, 54%)
CMYKcmyk(0%, 10.1%, 0%, 45.9%)
CIE-LABlab(53.66, 8.02, -5.62)
CIE-LCHlch(53.66, 9.80, 324.98°)
OKLaboklab(60.35% 0.0221 -0.0149)
OKLCHoklch(60.35% 0.027 325.9)
XYZxyz(22.2757, 21.6538, 27.0459)
Luminance0.2165 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7C8A #7C8A7C
analogous
#837C8A #8A7C8A #8A7C83
triadic
#8A7C8A #8A8A7C #7C8A8A
tetradic
#8A7C8A #8A837C #7C8A7C #7C838A
square
#8A7C8A #8A837C #7C8A7C #7C838A
split-complementary
#8A7C8A #838A7C #7C8A83
monochromatic
#4A424A #6A5F6A #8A7C8A #A79CA7 #C4BDC4

Accessibility & contrast

On white

3.94
#8A7C8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#8A7C8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7C8A
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7C8A#FFFFFF#000000##000000
##8A7C8A1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a7c8a;
/* rgb */ color: rgb(138, 124, 138);
/* oklch */ color: oklch(60.4% 0.027 325.9);
Tailwind
colors: {
  custom: {
    50: '#aca2ac',
    500: '#8a7c8a',
    950: '#000000',
  },
}
SCSS
$custom: #8a7c8a;
$custom-light: #aca2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7c8a",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 5.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60354,
    "c": 0.02667,
    "h": 325.9
  },
  "luminance": 0.21654
}

Semantic roles & 50–950 ramp

primary
#8A7C8A
secondary
#AEB4AE
accent
#AF7979
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100F10
muted
#7F7E7F

Preview Lab

Preview with #8A7C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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