#797382#797382

#797382 is a mid, muted grey. Relative luminance 0.179; OKLCH L 56.6% C 0.024 H 303.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#797382
RGBrgb(121, 115, 130)
HSLhsl(264, 6%, 48%)
HSVhsv(264, 12%, 51%)
CMYKcmyk(6.9%, 11.5%, 0%, 49%)
CIE-LABlab(49.42, 5.38, -7.39)
CIE-LCHlch(49.42, 9.14, 306.07°)
OKLaboklab(56.6% 0.0132 -0.0198)
OKLCHoklch(56.6% 0.024 303.7)
XYZxyz(18.0444, 17.9381, 23.6266)
Luminance0.1794 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797382 #7C8273
analogous
#737482 #797382 #807382
triadic
#797382 #827973 #738279
tetradic
#797382 #827374 #7C8273 #738280
square
#797382 #827374 #7C8273 #738280
split-complementary
#797382 #828073 #748273
monochromatic
#3D3A41 #5B5662 #797382 #98939F #B7B3BC

Accessibility & contrast

On white

4.58
#797382 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#797382 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797382
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797382#FFFFFF#000000##000000
##7973821.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#717583
Deuteranopia (green-blind)
#727582
Tritanopia (blue-blind)
#787578
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #797382;
/* rgb */ color: rgb(121, 115, 130);
/* oklch */ color: oklch(56.6% 0.024 303.7);
Tailwind
colors: {
  custom: {
    50: '#9f9ba6',
    500: '#797382',
    950: '#000000',
  },
}
SCSS
$custom: #797382;
$custom-light: #9f9ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#797382",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 130
  },
  "hsl": {
    "h": 264,
    "s": 6.122,
    "l": 48.039
  },
  "oklch": {
    "l": 0.566,
    "c": 0.02384,
    "h": 303.7
  },
  "luminance": 0.17938
}

Semantic roles & 50–950 ramp

primary
#797382
secondary
#A9ACA5
accent
#AF7999
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E0F
muted
#7E7E7F

Preview Lab

Preview with #797382

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

Preview Lab → · Contrast checker → · Palette generator →

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