#8A7C86#8A7C86
#8A7C86 is a mid, muted grey. Relative luminance 0.215; OKLCH L 60.2% C 0.022 H 335.9°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7C86 |
|---|---|
| RGB | rgb(138, 124, 134) |
| HSL | hsl(317, 6%, 51%) |
| HSV | hsv(317, 10%, 54%) |
| CMYK | cmyk(0%, 10.1%, 2.9%, 45.9%) |
| CIE-LAB | lab(53.54, 7.23, -3.47) |
| CIE-LCH | lch(53.54, 8.02, 334.38°) |
| OKLab | oklab(60.22% 0.0205 -0.0091) |
| OKLCH | oklch(60.22% 0.022 335.9) |
| XYZ | xyz(21.9914, 21.5401, 25.5488) |
| Luminance | 0.2154 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Purpley Grey
#947E94
ΔE00 5.83
Purple Grey
#866F85
ΔE00 7.05
Gray
#808080
ΔE00 9.06
Purplish Grey
#7A687F
ΔE00 9.11
Greyish Purple
#887191
ΔE00 9.14
Warm Grey
#978A84
ΔE00 9.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7C86 #7C8A80
analogous
#877C8A #8A7C86 #8A7C7F
triadic
#8A7C86 #868A7C #7C868A
tetradic
#8A7C86 #8A877C #7C8A80 #7C7F8A
square
#8A7C86 #8A877C #7C8A80 #7C7F8A
split-complementary
#8A7C86 #7F8A7C #7C8A87
monochromatic
#4A4247 #6A5F67 #8A7C86 #A79CA4 #C4BDC2
Accessibility & contrast
On white
3.96
#8A7C86 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#8A7C86 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7C86
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7C86 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7C86 | 1.00 | 3.96 | 5.31 | 5.31 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C7F86
Deuteranopia (green-blind)
#7F8186
Tritanopia (blue-blind)
#8C7C7F
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #8a7c86; /* rgb */ color: rgb(138, 124, 134); /* oklch */ color: oklch(60.2% 0.022 335.9);
Tailwind
colors: {
custom: {
50: '#aca1a9',
500: '#8a7c86',
950: '#000000',
},
}SCSS
$custom: #8a7c86; $custom-light: #aca1a9; $custom-dark: #000000;
JSON
{
"hex": "#8a7c86",
"rgb": {
"r": 138,
"g": 124,
"b": 134
},
"hsl": {
"h": 317.143,
"s": 5.645,
"l": 51.373
},
"oklch": {
"l": 0.60219,
"c": 0.02245,
"h": 335.9
},
"luminance": 0.2154
}Semantic roles & 50–950 ramp
primary
#8A7C86
secondary
#AEB4B0
accent
#AF8879
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100F0F
muted
#7F7E7F