#797388#797388

#797388 is a mid, muted violet. Relative luminance 0.181; OKLCH L 56.8% C 0.033 H 298.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#797388
RGBrgb(121, 115, 136)
HSLhsl(257, 8%, 49%)
HSVhsv(257, 15%, 53%)
CMYKcmyk(11%, 15.4%, 0%, 46.7%)
CIE-LABlab(49.62, 6.70, -10.64)
CIE-LCHlch(49.62, 12.57, 302.21°)
OKLaboklab(56.82% 0.0156 -0.0287)
OKLCHoklch(56.82% 0.033 298.4)
XYZxyz(18.4590, 18.1039, 25.8097)
Luminance0.1810 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797388 #828873
analogous
#737888 #797388 #847388
triadic
#797388 #887973 #738879
tetradic
#797388 #887378 #828873 #738884
square
#797388 #887378 #828873 #738884
split-complementary
#797388 #888473 #788873
monochromatic
#3E3B46 #5B5767 #797388 #9994A4 #B8B5C0

Accessibility & contrast

On white

4.54
#797388 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#797388 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797388
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797388#FFFFFF#000000##000000
##7973881.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7689
Deuteranopia (green-blind)
#707687
Tritanopia (blue-blind)
#77767A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #797388;
/* rgb */ color: rgb(121, 115, 136);
/* oklch */ color: oklch(56.8% 0.033 298.4);
Tailwind
colors: {
  custom: {
    50: '#9f9baa',
    500: '#797388',
    950: '#000000',
  },
}
SCSS
$custom: #797388;
$custom-light: #9f9baa;
$custom-dark: #000000;
JSON
{
  "hex": "#797388",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 136
  },
  "hsl": {
    "h": 257.143,
    "s": 8.367,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56823,
    "c": 0.03267,
    "h": 298.4
  },
  "luminance": 0.18104
}

Semantic roles & 50–950 ramp

primary
#797388
secondary
#ADB0A7
accent
#B176A1
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E10
muted
#7E7E7F

Preview Lab

Preview with #797388

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

Preview Lab → · Contrast checker → · Palette generator →

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