#797396#797396

#797396 is a mid, muted violet. Relative luminance 0.185; OKLCH L 57.4% C 0.054 H 292.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#797396
RGBrgb(121, 115, 150)
HSLhsl(250, 14%, 52%)
HSVhsv(250, 23%, 59%)
CMYKcmyk(19.3%, 23.3%, 0%, 41.2%)
CIE-LABlab(50.13, 9.95, -18.11)
CIE-LCHlch(50.13, 20.66, 298.78°)
OKLaboklab(57.39% 0.0205 -0.0496)
OKLCHoklch(57.39% 0.054 292.5)
XYZxyz(19.5197, 18.5282, 31.3962)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797396 #909673
analogous
#737F96 #797396 #8B7396
triadic
#797396 #967973 #739679
tetradic
#797396 #96737F #909673 #73968B
square
#797396 #96737F #909673 #73968B
split-complementary
#797396 #968B73 #7F9673
monochromatic
#413D51 #5C5774 #797396 #9A96B0 #BCB9CA

Accessibility & contrast

On white

4.46
#797396 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#797396 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797396
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797396#FFFFFF#000000##000000
##7973961.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7898
Deuteranopia (green-blind)
#6B7795
Tritanopia (blue-blind)
#73797F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #797396;
/* rgb */ color: rgb(121, 115, 150);
/* oklch */ color: oklch(57.4% 0.054 292.5);
Tailwind
colors: {
  custom: {
    50: '#a09bb5',
    500: '#797396',
    950: '#000000',
  },
}
SCSS
$custom: #797396;
$custom-light: #a09bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#797396",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 150
  },
  "hsl": {
    "h": 250.286,
    "s": 14.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57386,
    "c": 0.05365,
    "h": 292.5
  },
  "luminance": 0.18528
}

Semantic roles & 50–950 ramp

primary
#797396
secondary
#B7BAAB
accent
#B771AB
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0E0E11
muted
#7E7E80

Preview Lab

Preview with #797396

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

Preview Lab → · Contrast checker → · Palette generator →

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