#797491#797491

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

Color values

HEX#797491
RGBrgb(121, 116, 145)
HSLhsl(250, 12%, 51%)
HSVhsv(250, 20%, 57%)
CMYKcmyk(16.6%, 20%, 0%, 43.1%)
CIE-LABlab(50.22, 8.17, -15.04)
CIE-LCHlch(50.22, 17.12, 298.50°)
OKLaboklab(57.39% 0.0173 -0.041)
OKLCHoklch(57.39% 0.044 292.8)
XYZxyz(19.2403, 18.5999, 29.3591)
Luminance0.1860 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797491 #8C9174
analogous
#747D91 #797491 #877491
triadic
#797491 #917974 #749179
tetradic
#797491 #91747D #8C9174 #749187
square
#797491 #91747D #8C9174 #749187
split-complementary
#797491 #918774 #7D9174
monochromatic
#403D4D #5C5870 #797491 #9A96AC #BBB8C7

Accessibility & contrast

On white

4.45
#797491 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#797491 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797491
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797491#FFFFFF#000000##000000
##7974911.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7892
Deuteranopia (green-blind)
#6E7790
Tritanopia (blue-blind)
#74787E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #797491;
/* rgb */ color: rgb(121, 116, 145);
/* oklch */ color: oklch(57.4% 0.044 292.8);
Tailwind
colors: {
  custom: {
    50: '#a09cb1',
    500: '#797491',
    950: '#000000',
  },
}
SCSS
$custom: #797491;
$custom-light: #a09cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#797491",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 145
  },
  "hsl": {
    "h": 250.345,
    "s": 11.647,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5739,
    "c": 0.04446,
    "h": 292.8
  },
  "luminance": 0.186
}

Semantic roles & 50–950 ramp

primary
#797491
secondary
#B5B7AA
accent
#B573A9
background
#F9F9FA
surface
#F2F2F5
border
#CCCCCF
text
#0E0E10
muted
#7E7E7F

Preview Lab

Preview with #797491

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

Preview Lab → · Contrast checker → · Palette generator →

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