#797193#797193

#797193 is a mid, muted violet. Relative luminance 0.180; OKLCH L 56.8% C 0.053 H 295.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#797193
RGBrgb(121, 113, 147)
HSLhsl(254, 14%, 51%)
HSVhsv(254, 23%, 58%)
CMYKcmyk(17.7%, 23.1%, 0%, 42.4%)
CIE-LABlab(49.47, 10.42, -17.35)
CIE-LCHlch(49.47, 20.24, 301.00°)
OKLaboklab(56.84% 0.0226 -0.0474)
OKLCHoklch(56.84% 0.053 295.5)
XYZxyz(19.0556, 17.9817, 30.0650)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797193 #8B9371
analogous
#717A93 #797193 #8A7193
triadic
#797193 #937971 #719379
tetradic
#797193 #93717A #8B9371 #71938A
square
#797193 #93717A #8B9371 #71938A
split-complementary
#797193 #938A71 #7A9371
monochromatic
#403B4E #5C5671 #797193 #9A94AD #BBB7C8

Accessibility & contrast

On white

4.57
#797193 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#797193 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797193
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797193#FFFFFF#000000##000000
##7971931.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7694
Deuteranopia (green-blind)
#6B7592
Tritanopia (blue-blind)
#74767D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #797193;
/* rgb */ color: rgb(121, 113, 147);
/* oklch */ color: oklch(56.8% 0.053 295.5);
Tailwind
colors: {
  custom: {
    50: '#a099b2',
    500: '#797193',
    950: '#000000',
  },
}
SCSS
$custom: #797193;
$custom-light: #a099b2;
$custom-dark: #000000;
JSON
{
  "hex": "#797193",
  "rgb": {
    "r": 121,
    "g": 113,
    "b": 147
  },
  "hsl": {
    "h": 254.118,
    "s": 13.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56839,
    "c": 0.05253,
    "h": 295.5
  },
  "luminance": 0.17982
}

Semantic roles & 50–950 ramp

primary
#797193
secondary
#B4B7A8
accent
#B671A6
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0E0E11
muted
#7E7E80

Preview Lab

Preview with #797193

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

Preview Lab → · Contrast checker → · Palette generator →

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