#81787F#81787F
#81787F is a mid, near-neutral grey. Relative luminance 0.196; OKLCH L 58.3% C 0.015 H 333.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #81787F |
|---|---|
| RGB | rgb(129, 120, 127) |
| HSL | hsl(313, 4%, 49%) |
| HSV | hsv(313, 7%, 51%) |
| CMYK | cmyk(0%, 7%, 1.6%, 49.4%) |
| CIE-LAB | lab(51.42, 4.80, -2.58) |
| CIE-LCH | lch(51.42, 5.45, 331.74°) |
| OKLab | oklab(58.3% 0.0135 -0.0068) |
| OKLCH | oklch(58.3% 0.015 333.2) |
| XYZ | xyz(19.6000, 19.6325, 22.8315) |
| Luminance | 0.1963 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Gray
#808080
ΔE00 6.86
Purple Grey
#866F85
ΔE00 8.54
Purpley Grey
#947E94
ΔE00 8.86
Purplish Grey
#7A687F
ΔE00 9.31
Medium Grey
#7D7F7C
ΔE00 9.35
Dimgray
#696969
ΔE00 9.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81787F #78817A
analogous
#7F7881 #81787F #81787B
triadic
#81787F #7F8178 #787F81
tetradic
#81787F #817F78 #78817A #787B81
square
#81787F #817F78 #78817A #787B81
split-complementary
#81787F #7B8178 #78817F
monochromatic
#423D41 #615B60 #81787F #9F979D #BCB7BB
Accessibility & contrast
On white
4.26
#81787F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#81787F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #81787F
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81787F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##81787F | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#787A7F
Deuteranopia (green-blind)
#7A7B7F
Tritanopia (blue-blind)
#82787A
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #81787f; /* rgb */ color: rgb(129, 120, 127); /* oklch */ color: oklch(58.3% 0.015 333.2);
Tailwind
colors: {
custom: {
50: '#a59fa4',
500: '#81787f',
950: '#000000',
},
}SCSS
$custom: #81787f; $custom-light: #a59fa4; $custom-dark: #000000;
JSON
{
"hex": "#81787f",
"rgb": {
"r": 129,
"g": 120,
"b": 127
},
"hsl": {
"h": 313.333,
"s": 3.614,
"l": 48.824
},
"oklch": {
"l": 0.58301,
"c": 0.0151,
"h": 333.2
},
"luminance": 0.19632
}Semantic roles & 50–950 ramp
primary
#81787F
secondary
#A8ADA9
accent
#AD867B
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#0F0E0F
muted
#7F7E7F