#794B97#794B97

#794B97 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.8% C 0.126 H 310.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#794B97
RGBrgb(121, 75, 151)
HSLhsl(276, 34%, 44%)
HSVhsv(276, 50%, 59%)
CMYKcmyk(19.9%, 50.3%, 0%, 40.8%)
CIE-LABlab(40.13, 34.04, -34.25)
CIE-LCHlch(40.13, 48.29, 314.83°)
OKLaboklab(49.8% 0.0817 -0.0956)
OKLCHoklch(49.8% 0.126 310.5)
XYZxyz(15.9861, 11.3318, 30.6173)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794B97 #69974B
analogous
#534B97 #794B97 #974B8F
triadic
#794B97 #97794B #4B9779
tetradic
#794B97 #97534B #69974B #4B8F97
square
#794B97 #97534B #69974B #4B8F97
split-complementary
#794B97 #8F974B #4B9753
monochromatic
#372245 #58376E #794B97 #976AB5 #B493C9

Accessibility & contrast

On white

6.43
#794B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#794B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794B97
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794B97#FFFFFF#000000##FFFFFF
##794B971.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C9A
Deuteranopia (green-blind)
#455F95
Tritanopia (blue-blind)
#75576A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #794b97;
/* rgb */ color: rgb(121, 75, 151);
/* oklch */ color: oklch(49.8% 0.126 310.5);
Tailwind
colors: {
  custom: {
    50: '#a17fb6',
    500: '#794b97',
    950: '#000000',
  },
}
SCSS
$custom: #794b97;
$custom-light: #a17fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#794b97",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 151
  },
  "hsl": {
    "h": 276.316,
    "s": 33.628,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49801,
    "c": 0.12577,
    "h": 310.5
  },
  "luminance": 0.11331
}

Semantic roles & 50–950 ramp

primary
#794B97
secondary
#9AB688
accent
#CA5E89
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #794B97

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

Preview Lab → · Contrast checker → · Palette generator →

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