#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
RGBrgb(121, 120, 130)
HSLhsl(246, 4%, 49%)
HSVhsv(246, 8%, 51%)
CMYKcmyk(6.9%, 7.7%, 0%, 49%)
CIE-LABlab(50.82, 2.45, -5.31)
CIE-LCHlch(50.82, 5.85, 294.73°)
OKLaboklab(57.69% 0.0053 -0.0142)
OKLCHoklch(57.69% 0.015 290.5)
XYZxyz(18.6301, 19.1095, 23.8218)
Luminance0.1911 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

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
##7978821.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.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

Preview Lab

Preview with #797882

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#797882 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva