#797882#797882
#797882 is a mid, near-neutral grey. Relative luminance 0.191; OKLCH L 57.7% C 0.015 H 290.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #797882 |
|---|---|
| RGB | rgb(121, 120, 130) |
| HSL | hsl(246, 4%, 49%) |
| HSV | hsv(246, 8%, 51%) |
| CMYK | cmyk(6.9%, 7.7%, 0%, 49%) |
| CIE-LAB | lab(50.82, 2.45, -5.31) |
| CIE-LCH | lch(50.82, 5.85, 294.73°) |
| OKLab | oklab(57.69% 0.0053 -0.0142) |
| OKLCH | oklch(57.69% 0.015 290.5) |
| XYZ | xyz(18.6301, 19.1095, 23.8218) |
| Luminance | 0.1911 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Gray
#808080
ΔE00 6.27
Flint
#6F7A80
ΔE00 7.25
Slate Gray
#708090
ΔE00 7.93
Medium Grey
#7D7F7C
ΔE00 8.11
Dimgray
#696969
ΔE00 8.45
Battleship Grey
#6B7C85
ΔE00 9.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797882 #818278
analogous
#787C82 #797882 #7E7882
triadic
#797882 #827978 #788279
tetradic
#797882 #82787C #818278 #78827E
square
#797882 #82787C #818278 #78827E
split-complementary
#797882 #827E78 #7C8278
monochromatic
#3E3D42 #5B5B62 #797882 #9898A0 #B8B7BD
Accessibility & contrast
On white
4.36
#797882 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#797882 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797882
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797882 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797882 | 1.00 | 4.36 | 4.82 | 4.82 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#767982
Deuteranopia (green-blind)
#767982
Tritanopia (blue-blind)
#77797B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #797882; /* rgb */ color: rgb(121, 120, 130); /* oklch */ color: oklch(57.7% 0.015 290.5);
Tailwind
colors: {
custom: {
50: '#9f9ea6',
500: '#797882',
950: '#000000',
},
}SCSS
$custom: #797882; $custom-light: #9f9ea6; $custom-dark: #000000;
JSON
{
"hex": "#797882",
"rgb": {
"r": 121,
"g": 120,
"b": 130
},
"hsl": {
"h": 246,
"s": 4,
"l": 49.02
},
"oklch": {
"l": 0.57689,
"c": 0.01519,
"h": 290.5
},
"luminance": 0.1911
}Semantic roles & 50–950 ramp
primary
#797882
secondary
#ADADA9
accent
#AD7BA8
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E0F
muted
#7E7E7F