#797490#797490

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

Color values

HEX#797490
RGBrgb(121, 116, 144)
HSLhsl(251, 11%, 51%)
HSVhsv(251, 19%, 56%)
CMYKcmyk(16%, 19.4%, 0%, 43.5%)
CIE-LABlab(50.18, 7.93, -14.51)
CIE-LCHlch(50.18, 16.54, 298.67°)
OKLaboklab(57.35% 0.0169 -0.0395)
OKLCHoklch(57.35% 0.043 293.2)
XYZxyz(19.1635, 18.5692, 28.9548)
Luminance0.1857 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797490 #8B9074
analogous
#747D90 #797490 #877490
triadic
#797490 #907974 #749079
tetradic
#797490 #90747D #8B9074 #749087
square
#797490 #90747D #8B9074 #749087
split-complementary
#797490 #908774 #7D9074
monochromatic
#403D4D #5C586F #797490 #9A96AB #BBB8C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##797490#FFFFFF#000000##000000
##7974901.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)
#6E7891
Deuteranopia (green-blind)
#6E778F
Tritanopia (blue-blind)
#75787D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #797490;
/* rgb */ color: rgb(121, 116, 144);
/* oklch */ color: oklch(57.4% 0.043 293.2);
Tailwind
colors: {
  custom: {
    50: '#a09cb0',
    500: '#797490',
    950: '#000000',
  },
}
SCSS
$custom: #797490;
$custom-light: #a09cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#797490",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 144
  },
  "hsl": {
    "h": 250.714,
    "s": 11.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5735,
    "c": 0.04296,
    "h": 293.2
  },
  "luminance": 0.18569
}

Semantic roles & 50–950 ramp

primary
#797490
secondary
#B4B6AA
accent
#B474A9
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E10
muted
#7E7E7F

Preview Lab

Preview with #797490

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

Preview Lab → · Contrast checker → · Palette generator →

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