#786E78#786E78
#786E78 is a mid, near-neutral grey. Relative luminance 0.165; OKLCH L 55.1% C 0.019 H 325.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #786E78 |
|---|---|
| RGB | rgb(120, 110, 120) |
| HSL | hsl(300, 4%, 45%) |
| HSV | hsv(300, 8%, 47%) |
| CMYK | cmyk(0%, 8.3%, 0%, 52.9%) |
| CIE-LAB | lab(47.63, 5.86, -4.12) |
| CIE-LCH | lch(47.63, 7.17, 324.88°) |
| OKLab | oklab(55.07% 0.0161 -0.0109) |
| OKLCH | oklch(55.07% 0.019 325.9) |
| XYZ | xyz(16.7113, 16.5012, 20.0703) |
| Luminance | 0.1650 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Purplish Grey
#7A687F
ΔE00 6.39
Purple Grey
#866F85
ΔE00 7.17
Dimgray
#696969
ΔE00 8.55
Grey Purple
#826D8C
ΔE00 9.00
Greyish Purple
#887191
ΔE00 9.85
Gray
#808080
ΔE00 9.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#786E78 #6E786E
analogous
#736E78 #786E78 #786E73
triadic
#786E78 #78786E #6E7878
tetradic
#786E78 #78736E #6E786E #6E7378
square
#786E78 #78736E #6E786E #6E7378
split-complementary
#786E78 #73786E #6E7873
monochromatic
#383338 #585158 #786E78 #968D96 #B4ADB4
Accessibility & contrast
On white
4.88
#786E78 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#786E78 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #786E78
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##786E78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##786E78 | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D7078
Deuteranopia (green-blind)
#6F7178
Tritanopia (blue-blind)
#796F71
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #786e78; /* rgb */ color: rgb(120, 110, 120); /* oklch */ color: oklch(55.1% 0.019 325.9);
Tailwind
colors: {
custom: {
50: '#9f979f',
500: '#786e78',
950: '#000000',
},
}SCSS
$custom: #786e78; $custom-light: #9f979f; $custom-dark: #000000;
JSON
{
"hex": "#786e78",
"rgb": {
"r": 120,
"g": 110,
"b": 120
},
"hsl": {
"h": 300,
"s": 4.348,
"l": 45.098
},
"oklch": {
"l": 0.55071,
"c": 0.01949,
"h": 325.9
},
"luminance": 0.16501
}Semantic roles & 50–950 ramp
primary
#786E78
secondary
#9EA49E
accent
#AE7A7A
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0D0E
muted
#7E7E7E