#877E8D#877E8D

#877E8D is a mid, muted grey. Relative luminance 0.220; OKLCH L 60.6% C 0.025 H 312.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#877E8D
RGBrgb(135, 126, 141)
HSLhsl(276, 6%, 52%)
HSVhsv(276, 11%, 55%)
CMYKcmyk(4.3%, 10.6%, 0%, 44.7%)
CIE-LABlab(54.02, 6.38, -6.86)
CIE-LCHlch(54.02, 9.36, 312.91°)
OKLaboklab(60.61% 0.0165 -0.0183)
OKLCHoklch(60.61% 0.025 312)
XYZxyz(22.2594, 21.9958, 28.2671)
Luminance0.2200 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877E8D #848D7E
analogous
#807E8D #877E8D #8D7E8C
triadic
#877E8D #8D877E #7E8D87
tetradic
#877E8D #8D807E #848D7E #7E8C8D
square
#877E8D #8D807E #848D7E #7E8C8D
split-complementary
#877E8D #8C8D7E #7E8D80
monochromatic
#49444D #68616D #877E8D #A59EAA #C3BFC6

Accessibility & contrast

On white

3.89
#877E8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#877E8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877E8D
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877E8D#FFFFFF#000000##000000
##877E8D1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C818E
Deuteranopia (green-blind)
#7E818C
Tritanopia (blue-blind)
#878083
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #877e8d;
/* rgb */ color: rgb(135, 126, 141);
/* oklch */ color: oklch(60.6% 0.025 312.0);
Tailwind
colors: {
  custom: {
    50: '#aaa3ae',
    500: '#877e8d',
    950: '#000000',
  },
}
SCSS
$custom: #877e8d;
$custom-light: #aaa3ae;
$custom-dark: #000000;
JSON
{
  "hex": "#877e8d",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 141
  },
  "hsl": {
    "h": 276,
    "s": 6.173,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60605,
    "c": 0.0247,
    "h": 312
  },
  "luminance": 0.21996
}

Semantic roles & 50–950 ramp

primary
#877E8D
secondary
#B3B7B0
accent
#AF798E
background
#FAFAFA
surface
#F4F3F4
border
#CECDCE
text
#100F10
muted
#7F7F7F

Preview Lab

Preview with #877E8D

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

Preview Lab → · Contrast checker → · Palette generator →

#877E8D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva