#8A7984#8A7984

#8A7984 is a mid, muted grey. Relative luminance 0.207; OKLCH L 59.5% C 0.026 H 339.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8A7984
RGBrgb(138, 121, 132)
HSLhsl(321, 7%, 51%)
HSVhsv(321, 12%, 54%)
CMYKcmyk(0%, 12.3%, 4.3%, 45.9%)
CIE-LABlab(52.67, 8.59, -3.58)
CIE-LCHlch(52.67, 9.30, 337.37°)
OKLaboklab(59.52% 0.0246 -0.0094)
OKLCHoklch(59.52% 0.026 339)
XYZxyz(21.4830, 20.7443, 24.6977)
Luminance0.2074 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7984 #798A7F
analogous
#87798A #8A7984 #8A797B
triadic
#8A7984 #848A79 #79848A
tetradic
#8A7984 #8A8779 #798A7F #797B8A
square
#8A7984 #8A8779 #798A7F #797B8A
split-complementary
#8A7984 #7B8A79 #798A87
monochromatic
#494046 #6A5C65 #8A7984 #A79AA2 #C3BAC0

Accessibility & contrast

On white

4.08
#8A7984 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#8A7984 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7984
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7984#FFFFFF#000000##000000
##8A79841.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#797C84
Deuteranopia (green-blind)
#7D7F83
Tritanopia (blue-blind)
#8C797D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a7984;
/* rgb */ color: rgb(138, 121, 132);
/* oklch */ color: oklch(59.5% 0.026 339.0);
Tailwind
colors: {
  custom: {
    50: '#ac9fa7',
    500: '#8a7984',
    950: '#000000',
  },
}
SCSS
$custom: #8a7984;
$custom-light: #ac9fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7984",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 132
  },
  "hsl": {
    "h": 321.176,
    "s": 6.773,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59524,
    "c": 0.0263,
    "h": 339
  },
  "luminance": 0.20744
}

Semantic roles & 50–950 ramp

primary
#8A7984
secondary
#ACB3AE
accent
#B08C78
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100E0F
muted
#7F7E7F

Preview Lab

Preview with #8A7984

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

Preview Lab → · Contrast checker → · Palette generator →

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