#877E8A#877E8A
#877E8A is a mid, muted grey. Relative luminance 0.219; OKLCH L 60.5% C 0.021 H 317.7°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #877E8A |
|---|---|
| RGB | rgb(135, 126, 138) |
| HSL | hsl(285, 5%, 52%) |
| HSV | hsv(285, 9%, 54%) |
| CMYK | cmyk(2.2%, 8.7%, 0%, 45.9%) |
| CIE-LAB | lab(53.93, 5.76, -5.25) |
| CIE-LCH | lch(53.93, 7.79, 317.65°) |
| OKLab | oklab(60.5% 0.0154 -0.014) |
| OKLCH | oklch(60.5% 0.021 317.7) |
| XYZ | xyz(22.0393, 21.9077, 27.1074) |
| Luminance | 0.2191 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Purpley Grey
#947E94
ΔE00 6.45
Purple Grey
#866F85
ΔE00 7.97
Gray
#808080
ΔE00 8.24
Greyish Purple
#887191
ΔE00 9.45
Purplish Grey
#7A687F
ΔE00 9.58
Grey Purple
#826D8C
ΔE00 9.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877E8A #818A7E
analogous
#817E8A #877E8A #8A7E87
triadic
#877E8A #8A877E #7E8A87
tetradic
#877E8A #8A817E #818A7E #7E878A
square
#877E8A #8A817E #818A7E #7E878A
split-complementary
#877E8A #878A7E #7E8A81
monochromatic
#49434A #68606A #877E8A #A59EA7 #C3BEC4
Accessibility & contrast
On white
3.90
#877E8A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.38
#877E8A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877E8A
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877E8A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877E8A | 1.00 | 3.90 | 5.38 | 5.38 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D808B
Deuteranopia (green-blind)
#7F818A
Tritanopia (blue-blind)
#877F82
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #877e8a; /* rgb */ color: rgb(135, 126, 138); /* oklch */ color: oklch(60.5% 0.021 317.7);
Tailwind
colors: {
custom: {
50: '#aaa3ac',
500: '#877e8a',
950: '#000000',
},
}SCSS
$custom: #877e8a; $custom-light: #aaa3ac; $custom-dark: #000000;
JSON
{
"hex": "#877e8a",
"rgb": {
"r": 135,
"g": 126,
"b": 138
},
"hsl": {
"h": 285,
"s": 4.878,
"l": 51.765
},
"oklch": {
"l": 0.60501,
"c": 0.02078,
"h": 317.7
},
"luminance": 0.21908
}Semantic roles & 50–950 ramp
primary
#877E8A
secondary
#B1B5AF
accent
#AE7A87
background
#FAFAFA
surface
#F4F3F4
border
#CECDCE
text
#100F10
muted
#7F7F7F