#794AAA#794AAA

#794AAA is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.8% C 0.151 H 304.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#794AAA
RGBrgb(121, 74, 170)
HSLhsl(269, 39%, 48%)
HSVhsv(269, 56%, 67%)
CMYKcmyk(28.8%, 56.5%, 0%, 33.3%)
CIE-LABlab(41.00, 39.23, -44.23)
CIE-LCHlch(41.00, 59.12, 311.58°)
OKLaboklab(50.79% 0.0846 -0.1247)
OKLCHoklch(50.79% 0.151 304.1)
XYZxyz(17.5880, 11.8648, 39.3860)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794AAA #7BAA4A
analogous
#4A4BAA #794AAA #A94AAA
triadic
#794AAA #AA794A #4AAA79
tetradic
#794AAA #AA4A4B #7BAA4A #4AAAA9
square
#794AAA #AA4A4B #7BAA4A #4AAAA9
split-complementary
#794AAA #AAA94A #4BAA4A
monochromatic
#3C2555 #5B377F #794AAA #9870C1 #B79BD3

Accessibility & contrast

On white

6.23
#794AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#794AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794AAA
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794AAA#FFFFFF#000000##FFFFFF
##794AAA1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255FAD
Deuteranopia (green-blind)
#3661A8
Tritanopia (blue-blind)
#705C73
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #794aaa;
/* rgb */ color: rgb(121, 74, 170);
/* oklch */ color: oklch(50.8% 0.151 304.1);
Tailwind
colors: {
  custom: {
    50: '#a37ec4',
    500: '#794aaa',
    950: '#000000',
  },
}
SCSS
$custom: #794aaa;
$custom-light: #a37ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#794aaa",
  "rgb": {
    "r": 121,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 269.375,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50793,
    "c": 0.15072,
    "h": 304.1
  },
  "luminance": 0.11865
}

Semantic roles & 50–950 ramp

primary
#794AAA
secondary
#A8C090
accent
#CF5995
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #794AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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