#797883#797883

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

Color values

HEX#797883
RGBrgb(121, 120, 131)
HSLhsl(245, 4%, 49%)
HSVhsv(245, 8%, 51%)
CMYKcmyk(7.6%, 8.4%, 0%, 48.6%)
CIE-LABlab(50.85, 2.66, -5.86)
CIE-LCHlch(50.85, 6.43, 294.45°)
OKLaboklab(57.72% 0.0057 -0.0157)
OKLCHoklch(57.72% 0.017 290.1)
XYZxyz(18.6976, 19.1365, 24.1770)
Luminance0.1914 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797883 #828378
analogous
#787D83 #797883 #7F7883
triadic
#797883 #837978 #788379
tetradic
#797883 #83787D #828378 #78837F
square
#797883 #83787D #828378 #78837F
split-complementary
#797883 #837F78 #7D8378
monochromatic
#3E3D43 #5B5B63 #797883 #9998A0 #B8B8BE

Accessibility & contrast

On white

4.35
#797883 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#797883 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797883
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797883#FFFFFF#000000##000000
##7978831.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #797883;
/* rgb */ color: rgb(121, 120, 131);
/* oklch */ color: oklch(57.7% 0.017 290.1);
Tailwind
colors: {
  custom: {
    50: '#9f9ea7',
    500: '#797883',
    950: '#000000',
  },
}
SCSS
$custom: #797883;
$custom-light: #9f9ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#797883",
  "rgb": {
    "r": 121,
    "g": 120,
    "b": 131
  },
  "hsl": {
    "h": 245.455,
    "s": 4.382,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57724,
    "c": 0.01671,
    "h": 290.1
  },
  "luminance": 0.19137
}

Semantic roles & 50–950 ramp

primary
#797883
secondary
#ADAEA9
accent
#AE7AA9
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E0F
muted
#7E7E7F

Preview Lab

Preview with #797883

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

Preview Lab → · Contrast checker → · Palette generator →

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