#787883#787883

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

Color values

HEX#787883
RGBrgb(120, 120, 131)
HSLhsl(240, 4%, 49%)
HSVhsv(240, 8%, 51%)
CMYKcmyk(8.4%, 8.4%, 0%, 48.6%)
CIE-LABlab(50.76, 2.30, -5.99)
CIE-LCHlch(50.76, 6.42, 291.00°)
OKLaboklab(57.64% 0.0046 -0.0161)
OKLCHoklch(57.64% 0.017 285.9)
XYZxyz(18.5581, 19.0646, 24.1705)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787883 #838378
analogous
#787E83 #787883 #7E7883
triadic
#787883 #837878 #788378
tetradic
#787883 #83787E #838378 #78837E
square
#787883 #83787E #838378 #78837E
split-complementary
#787883 #837E78 #7E8378
monochromatic
#3D3D43 #5B5B63 #787883 #9898A0 #B8B8BE

Accessibility & contrast

On white

4.36
#787883 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##787883#FFFFFF#000000##000000
##7878831.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #787883;
/* rgb */ color: rgb(120, 120, 131);
/* oklch */ color: oklch(57.6% 0.017 285.9);
Tailwind
colors: {
  custom: {
    50: '#9f9ea7',
    500: '#787883',
    950: '#000000',
  },
}
SCSS
$custom: #787883;
$custom-light: #9f9ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#787883",
  "rgb": {
    "r": 120,
    "g": 120,
    "b": 131
  },
  "hsl": {
    "h": 240,
    "s": 4.382,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57638,
    "c": 0.01671,
    "h": 285.9
  },
  "luminance": 0.19065
}

Semantic roles & 50–950 ramp

primary
#787883
secondary
#AEAEA9
accent
#AE7AAE
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E0F
muted
#7E7E7F

Preview Lab

Preview with #787883

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

Preview Lab → · Contrast checker → · Palette generator →

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