#8A7989#8A7989

#8A7989 is a mid, muted grey. Relative luminance 0.209; OKLCH L 59.7% C 0.031 H 327.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8A7989
RGBrgb(138, 121, 137)
HSLhsl(304, 7%, 51%)
HSVhsv(304, 12%, 54%)
CMYKcmyk(0%, 12.3%, 0.7%, 45.9%)
CIE-LABlab(52.82, 9.57, -6.28)
CIE-LCHlch(52.82, 11.44, 326.73°)
OKLaboklab(59.7% 0.0265 -0.0167)
OKLCHoklch(59.7% 0.031 327.8)
XYZxyz(21.8334, 20.8845, 26.5430)
Luminance0.2088 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7989 #798A7A
analogous
#82798A #8A7989 #8A7980
triadic
#8A7989 #898A79 #79898A
tetradic
#8A7989 #8A8279 #798A7A #79808A
square
#8A7989 #8A8279 #798A7A #79808A
split-complementary
#8A7989 #808A79 #798A82
monochromatic
#494048 #6A5C69 #8A7989 #A79AA6 #C3BAC3

Accessibility & contrast

On white

4.06
#8A7989 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#8A7989 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7989
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7989#FFFFFF#000000##000000
##8A79891.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#787D8A
Deuteranopia (green-blind)
#7C7F88
Tritanopia (blue-blind)
#8B7A7E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a7989;
/* rgb */ color: rgb(138, 121, 137);
/* oklch */ color: oklch(59.7% 0.031 327.8);
Tailwind
colors: {
  custom: {
    50: '#ac9fab',
    500: '#8a7989',
    950: '#000000',
  },
}
SCSS
$custom: #8a7989;
$custom-light: #ac9fab;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7989",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 137
  },
  "hsl": {
    "h": 303.529,
    "s": 6.773,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59695,
    "c": 0.03133,
    "h": 327.8
  },
  "luminance": 0.20884
}

Semantic roles & 50–950 ramp

primary
#8A7989
secondary
#ACB3AC
accent
#B07B78
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100E10
muted
#7F7E7F

Preview Lab

Preview with #8A7989

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

Preview Lab → · Contrast checker → · Palette generator →

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