#8A7E8D#8A7E8D

#8A7E8D is a mid, muted grey. Relative luminance 0.222; OKLCH L 60.9% C 0.026 H 319.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8A7E8D
RGBrgb(138, 126, 141)
HSLhsl(288, 6%, 52%)
HSVhsv(288, 11%, 55%)
CMYKcmyk(2.1%, 10.6%, 0%, 44.7%)
CIE-LABlab(54.29, 7.47, -6.43)
CIE-LCHlch(54.29, 9.86, 319.27°)
OKLaboklab(60.88% 0.02 -0.0172)
OKLCHoklch(60.88% 0.026 319.4)
XYZxyz(22.7491, 22.2483, 28.2900)
Luminance0.2225 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7E8D #818D7E
analogous
#837E8D #8A7E8D #8D7E89
triadic
#8A7E8D #8D8A7E #7E8D8A
tetradic
#8A7E8D #8D837E #818D7E #7E898D
square
#8A7E8D #8D837E #818D7E #7E898D
split-complementary
#8A7E8D #898D7E #7E8D83
monochromatic
#4B444D #6B616D #8A7E8D #A79EAA #C5BFC6

Accessibility & contrast

On white

3.85
#8A7E8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#8A7E8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7E8D
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7E8D#FFFFFF#000000##000000
##8A7E8D1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D818E
Deuteranopia (green-blind)
#7F828C
Tritanopia (blue-blind)
#8A7F83
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a7e8d;
/* rgb */ color: rgb(138, 126, 141);
/* oklch */ color: oklch(60.9% 0.026 319.4);
Tailwind
colors: {
  custom: {
    50: '#aca3ae',
    500: '#8a7e8d',
    950: '#000000',
  },
}
SCSS
$custom: #8a7e8d;
$custom-light: #aca3ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7e8d",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 141
  },
  "hsl": {
    "h": 288,
    "s": 6.173,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60877,
    "c": 0.02639,
    "h": 319.4
  },
  "luminance": 0.22248
}

Semantic roles & 50–950 ramp

primary
#8A7E8D
secondary
#B1B7B0
accent
#AF7983
background
#FAFAFA
surface
#F4F3F4
border
#CECDCE
text
#100F10
muted
#7F7F7F

Preview Lab

Preview with #8A7E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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