#797394#797394

#797394 is a mid, muted violet. Relative luminance 0.185; OKLCH L 57.3% C 0.051 H 293.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#797394
RGBrgb(121, 115, 148)
HSLhsl(251, 13%, 52%)
HSVhsv(251, 22%, 58%)
CMYKcmyk(18.2%, 22.3%, 0%, 42%)
CIE-LABlab(50.05, 9.47, -17.05)
CIE-LCHlch(50.05, 19.51, 299.05°)
OKLaboklab(57.3% 0.0198 -0.0466)
OKLCHoklch(57.3% 0.051 293.1)
XYZxyz(19.3600, 18.4644, 30.5552)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797394 #8E9473
analogous
#737E94 #797394 #8A7394
triadic
#797394 #947973 #739479
tetradic
#797394 #94737E #8E9473 #73948A
square
#797394 #94737E #8E9473 #73948A
split-complementary
#797394 #948A73 #7E9473
monochromatic
#403D50 #5C5772 #797394 #9A96AF #BBB8C9

Accessibility & contrast

On white

4.47
#797394 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#797394 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797394
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797394#FFFFFF#000000##000000
##7973941.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #797394;
/* rgb */ color: rgb(121, 115, 148);
/* oklch */ color: oklch(57.3% 0.051 293.1);
Tailwind
colors: {
  custom: {
    50: '#a09bb3',
    500: '#797394',
    950: '#000000',
  },
}
SCSS
$custom: #797394;
$custom-light: #a09bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#797394",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 148
  },
  "hsl": {
    "h": 250.909,
    "s": 13.36,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57302,
    "c": 0.05065,
    "h": 293.1
  },
  "luminance": 0.18465
}

Semantic roles & 50–950 ramp

primary
#797394
secondary
#B6B9AA
accent
#B672AA
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0E0E11
muted
#7E7E80

Preview Lab

Preview with #797394

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

Preview Lab → · Contrast checker → · Palette generator →

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