#8A7980#8A7980

#8A7980 is a mid, muted grey. Relative luminance 0.206; OKLCH L 59.4% C 0.023 H 351.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8A7980
RGBrgb(138, 121, 128)
HSLhsl(335, 7%, 51%)
HSVhsv(335, 12%, 54%)
CMYKcmyk(0%, 12.3%, 7.2%, 45.9%)
CIE-LABlab(52.55, 7.82, -1.41)
CIE-LCHlch(52.55, 7.95, 349.79°)
OKLaboklab(59.39% 0.023 -0.0036)
OKLCHoklch(59.39% 0.023 351)
XYZxyz(21.2145, 20.6369, 23.2837)
Luminance0.2064 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7980 #798A83
analogous
#8A7988 #8A7980 #8A7A79
triadic
#8A7980 #808A79 #79808A
tetradic
#8A7980 #888A79 #798A83 #7A798A
square
#8A7980 #888A79 #798A83 #7A798A
split-complementary
#8A7980 #798A7A #79888A
monochromatic
#494043 #6A5C62 #8A7980 #A79A9F #C3BABE

Accessibility & contrast

On white

4.10
#8A7980 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#8A7980 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7980
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7980#FFFFFF#000000##000000
##8A79801.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A7C80
Deuteranopia (green-blind)
#7E7E80
Tritanopia (blue-blind)
#8D797B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a7980;
/* rgb */ color: rgb(138, 121, 128);
/* oklch */ color: oklch(59.4% 0.023 351.0);
Tailwind
colors: {
  custom: {
    50: '#ac9fa4',
    500: '#8a7980',
    950: '#000000',
  },
}
SCSS
$custom: #8a7980;
$custom-light: #ac9fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7980",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 128
  },
  "hsl": {
    "h": 335.294,
    "s": 6.773,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59392,
    "c": 0.02324,
    "h": 351
  },
  "luminance": 0.20637
}

Semantic roles & 50–950 ramp

primary
#8A7980
secondary
#ACB3B0
accent
#B09978
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100E0F
muted
#7F7E7F

Preview Lab

Preview with #8A7980

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

Preview Lab → · Contrast checker → · Palette generator →

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