#8D7E8A#8D7E8A

#8D7E8A is a mid, muted grey. Relative luminance 0.224; OKLCH L 61.1% C 0.025 H 332.6°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8D7E8A
RGBrgb(141, 126, 138)
HSLhsl(312, 6%, 52%)
HSVhsv(312, 11%, 55%)
CMYKcmyk(0%, 10.6%, 2.1%, 44.7%)
CIE-LABlab(54.47, 7.98, -4.39)
CIE-LCHlch(54.47, 9.10, 331.17°)
OKLaboklab(61.05% 0.0224 -0.0116)
OKLCHoklch(61.05% 0.025 332.6)
XYZxyz(23.0322, 22.4197, 27.1539)
Luminance0.2242 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7E8A #7E8D81
analogous
#897E8D #8D7E8A #8D7E83
triadic
#8D7E8A #8A8D7E #7E8A8D
tetradic
#8D7E8A #8D897E #7E8D81 #7E838D
square
#8D7E8A #8D897E #7E8D81 #7E838D
split-complementary
#8D7E8A #838D7E #7E8D89
monochromatic
#4D444B #6D616B #8D7E8A #AA9EA7 #C6BFC5

Accessibility & contrast

On white

3.83
#8D7E8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#8D7E8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7E8A
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7E8A#FFFFFF#000000##000000
##8D7E8A1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E818B
Deuteranopia (green-blind)
#818389
Tritanopia (blue-blind)
#8F7F82
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8d7e8a;
/* rgb */ color: rgb(141, 126, 138);
/* oklch */ color: oklch(61.1% 0.025 332.6);
Tailwind
colors: {
  custom: {
    50: '#aea3ac',
    500: '#8d7e8a',
    950: '#000000',
  },
}
SCSS
$custom: #8d7e8a;
$custom-light: #aea3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7e8a",
  "rgb": {
    "r": 141,
    "g": 126,
    "b": 138
  },
  "hsl": {
    "h": 312,
    "s": 6.173,
    "l": 52.353
  },
  "oklch": {
    "l": 0.61052,
    "c": 0.02524,
    "h": 332.6
  },
  "luminance": 0.22419
}

Semantic roles & 50–950 ramp

primary
#8D7E8A
secondary
#B0B7B1
accent
#AF8379
background
#FAFAFA
surface
#F4F3F4
border
#CECDCE
text
#100F10
muted
#7F7F7F

Preview Lab

Preview with #8D7E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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