#8A767D#8A767D

#8A767D is a mid, muted grey. Relative luminance 0.198; OKLCH L 58.7% C 0.027 H 354.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8A767D
RGBrgb(138, 118, 125)
HSLhsl(339, 8%, 50%)
HSVhsv(339, 14%, 54%)
CMYKcmyk(0%, 14.5%, 9.4%, 45.9%)
CIE-LABlab(51.66, 9.01, -0.96)
CIE-LCHlch(51.66, 9.06, 353.94°)
OKLaboklab(58.67% 0.0267 -0.0024)
OKLCHoklch(58.67% 0.027 354.9)
XYZxyz(20.6611, 19.8413, 22.1394)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A767D #768A83
analogous
#8A7687 #8A767D #8A7976
triadic
#8A767D #7D8A76 #767D8A
tetradic
#8A767D #878A76 #768A83 #79768A
square
#8A767D #878A76 #768A83 #79768A
split-complementary
#8A767D #768A79 #76878A
monochromatic
#483E41 #695A5F #8A767D #A6979C #C2B8BC

Accessibility & contrast

On white

4.23
#8A767D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#8A767D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A767D
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A767D#FFFFFF#000000##000000
##8A767D1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#78797D
Deuteranopia (green-blind)
#7C7C7D
Tritanopia (blue-blind)
#8E7578
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a767d;
/* rgb */ color: rgb(138, 118, 125);
/* oklch */ color: oklch(58.7% 0.027 354.9);
Tailwind
colors: {
  custom: {
    50: '#ac9da2',
    500: '#8a767d',
    950: '#000000',
  },
}
SCSS
$custom: #8a767d;
$custom-light: #ac9da2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a767d",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 125
  },
  "hsl": {
    "h": 339,
    "s": 7.874,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58668,
    "c": 0.02676,
    "h": 354.9
  },
  "luminance": 0.19841
}

Semantic roles & 50–950 ramp

primary
#8A767D
secondary
#A9B2AF
accent
#B19D77
background
#FAF9F9
surface
#F4F2F2
border
#CECCCC
text
#100E0F
muted
#7F7E7E

Preview Lab

Preview with #8A767D

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

Preview Lab → · Contrast checker → · Palette generator →

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