#794A97#794A97

#794A97 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.6% C 0.128 H 310.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#794A97
RGBrgb(121, 74, 151)
HSLhsl(277, 34%, 44%)
HSVhsv(277, 51%, 59%)
CMYKcmyk(19.9%, 51%, 0%, 40.8%)
CIE-LABlab(39.91, 34.62, -34.60)
CIE-LCHlch(39.91, 48.94, 315.01°)
OKLaboklab(49.64% 0.0832 -0.0966)
OKLCHoklch(49.64% 0.128 310.7)
XYZxyz(15.9188, 11.1972, 30.5948)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794A97 #68974A
analogous
#534A97 #794A97 #974A8F
triadic
#794A97 #97794A #4A9779
tetradic
#794A97 #97534A #68974A #4A8F97
square
#794A97 #97534A #68974A #4A8F97
split-complementary
#794A97 #8F974A #4A9753
monochromatic
#372245 #58366E #794A97 #9869B5 #B492CA

Accessibility & contrast

On white

6.48
#794A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#794A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794A97
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794A97#FFFFFF#000000##FFFFFF
##794A971.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375C9A
Deuteranopia (green-blind)
#445F95
Tritanopia (blue-blind)
#755769
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #794a97;
/* rgb */ color: rgb(121, 74, 151);
/* oklch */ color: oklch(49.6% 0.128 310.7);
Tailwind
colors: {
  custom: {
    50: '#a17eb6',
    500: '#794a97',
    950: '#000000',
  },
}
SCSS
$custom: #794a97;
$custom-light: #a17eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#794a97",
  "rgb": {
    "r": 121,
    "g": 74,
    "b": 151
  },
  "hsl": {
    "h": 276.623,
    "s": 34.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49635,
    "c": 0.1275,
    "h": 310.7
  },
  "luminance": 0.11197
}

Semantic roles & 50–950 ramp

primary
#794A97
secondary
#99B687
accent
#CA5D88
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #794A97

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

Preview Lab → · Contrast checker → · Palette generator →

#794A97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva