#8A787D#8A787D
#8A787D is a mid, muted grey. Relative luminance 0.203; OKLCH L 59.1% C 0.023 H 359.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #8A787D |
|---|---|
| RGB | rgb(138, 120, 125) |
| HSL | hsl(343, 7%, 51%) |
| HSV | hsv(343, 13%, 54%) |
| CMYK | cmyk(0%, 13%, 9.4%, 45.9%) |
| CIE-LAB | lab(52.19, 7.85, -0.17) |
| CIE-LCH | lch(52.19, 7.85, 358.75°) |
| OKLab | oklab(59.09% 0.0234 -0.0003) |
| OKLCH | oklch(59.09% 0.023 359.2) |
| XYZ | xyz(20.8991, 20.3173, 22.2188) |
| Luminance | 0.2032 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Reddish Grey
#997570
ΔE00 7.52
Purple Grey
#866F85
ΔE00 7.69
Purpley Grey
#947E94
ΔE00 7.70
Warm Grey
#978A84
ΔE00 8.85
Gray
#808080
ΔE00 9.40
Purplish Grey
#7A687F
ΔE00 9.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A787D #788A85
analogous
#8A7886 #8A787D #8A7C78
triadic
#8A787D #7D8A78 #787D8A
tetradic
#8A787D #868A78 #788A85 #7C788A
square
#8A787D #868A78 #788A85 #7C788A
split-complementary
#8A787D #788A7C #78868A
monochromatic
#493F42 #695B5F #8A787D #A6999D #C3BABC
Accessibility & contrast
On white
4.15
#8A787D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#8A787D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A787D
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A787D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A787D | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A7B7D
Deuteranopia (green-blind)
#7E7E7D
Tritanopia (blue-blind)
#8D777A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8a787d; /* rgb */ color: rgb(138, 120, 125); /* oklch */ color: oklch(59.1% 0.023 359.2);
Tailwind
colors: {
custom: {
50: '#ac9fa2',
500: '#8a787d',
950: '#000000',
},
}SCSS
$custom: #8a787d; $custom-light: #ac9fa2; $custom-dark: #000000;
JSON
{
"hex": "#8a787d",
"rgb": {
"r": 138,
"g": 120,
"b": 125
},
"hsl": {
"h": 343.333,
"s": 7.143,
"l": 50.588
},
"oklch": {
"l": 0.59086,
"c": 0.02336,
"h": 359.2
},
"luminance": 0.20317
}Semantic roles & 50–950 ramp
primary
#8A787D
secondary
#ABB3B1
accent
#B0A078
background
#FAF9F9
surface
#F4F2F2
border
#CECCCC
text
#100E0F
muted
#7F7E7E