#787882#787882

#787882 is a mid, near-neutral grey. Relative luminance 0.190; OKLCH L 57.6% C 0.015 H 285.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#787882
RGBrgb(120, 120, 130)
HSLhsl(240, 4%, 49%)
HSVhsv(240, 8%, 51%)
CMYKcmyk(7.7%, 7.7%, 0%, 49%)
CIE-LABlab(50.73, 2.08, -5.45)
CIE-LCHlch(50.73, 5.83, 290.93°)
OKLaboklab(57.6% 0.0042 -0.0146)
OKLCHoklch(57.6% 0.015 285.9)
XYZxyz(18.4907, 19.0376, 23.8152)
Luminance0.1904 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787882 #828278
analogous
#787D82 #787882 #7D7882
triadic
#787882 #827878 #788278
tetradic
#787882 #82787D #828278 #78827D
square
#787882 #82787D #828278 #78827D
split-complementary
#787882 #827D78 #7D8278
monochromatic
#3D3D42 #5B5B62 #787882 #9898A0 #B7B7BD

Accessibility & contrast

On white

4.37
#787882 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#787882 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787882
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787882#FFFFFF#000000##000000
##7878821.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#767982
Deuteranopia (green-blind)
#767882
Tritanopia (blue-blind)
#767A7B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #787882;
/* rgb */ color: rgb(120, 120, 130);
/* oklch */ color: oklch(57.6% 0.015 285.9);
Tailwind
colors: {
  custom: {
    50: '#9f9ea6',
    500: '#787882',
    950: '#000000',
  },
}
SCSS
$custom: #787882;
$custom-light: #9f9ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#787882",
  "rgb": {
    "r": 120,
    "g": 120,
    "b": 130
  },
  "hsl": {
    "h": 240,
    "s": 4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57603,
    "c": 0.01518,
    "h": 285.9
  },
  "luminance": 0.19038
}

Semantic roles & 50–950 ramp

primary
#787882
secondary
#ADADA9
accent
#AD7BAD
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E0F
muted
#7E7E7F

Preview Lab

Preview with #787882

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

Preview Lab → · Contrast checker → · Palette generator →

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