#8A807D#8A807D

#8A807D is a mid, near-neutral grey. Relative luminance 0.223; OKLCH L 60.8% C 0.013 H 37.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8A807D
RGBrgb(138, 128, 125)
HSLhsl(14, 5%, 52%)
HSVhsv(14, 9%, 54%)
CMYKcmyk(0%, 7.2%, 9.4%, 45.9%)
CIE-LABlab(54.37, 3.23, 2.99)
CIE-LCHlch(54.37, 4.40, 42.79°)
OKLaboklab(60.79% 0.0104 0.0079)
OKLCHoklch(60.79% 0.013 37.4)
XYZxyz(21.9017, 22.3226, 22.5530)
Luminance0.2232 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A807D #7D878A
analogous
#8A7D81 #8A807D #8A877D
triadic
#8A807D #7D8A80 #807D8A
tetradic
#8A807D #818A7D #7D878A #877D8A
square
#8A807D #818A7D #7D878A #877D8A
split-complementary
#8A807D #7D8A87 #7D818A
monochromatic
#4A4443 #6A6260 #8A807D #A79F9D #C4BFBD

Accessibility & contrast

On white

3.84
#8A807D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#8A807D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A807D
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A807D#FFFFFF#000000##000000
##8A807D1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#82817D
Deuteranopia (green-blind)
#84837D
Tritanopia (blue-blind)
#8D7F7F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a807d;
/* rgb */ color: rgb(138, 128, 125);
/* oklch */ color: oklch(60.8% 0.013 37.4);
Tailwind
colors: {
  custom: {
    50: '#aca4a2',
    500: '#8a807d',
    950: '#000000',
  },
}
SCSS
$custom: #8a807d;
$custom-light: #aca4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a807d",
  "rgb": {
    "r": 138,
    "g": 128,
    "b": 125
  },
  "hsl": {
    "h": 13.846,
    "s": 5.263,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60785,
    "c": 0.01304,
    "h": 37.4
  },
  "luminance": 0.22322
}

Semantic roles & 50–950 ramp

primary
#8A807D
secondary
#AFB3B4
accent
#A2AE79
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#100F0F
muted
#7F7F7E

Preview Lab

Preview with #8A807D

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

Preview Lab → · Contrast checker → · Palette generator →

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