#794AB9#794AB9

#794AB9 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.8% C 0.169 H 300.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#794AB9
RGBrgb(121, 74, 185)
HSLhsl(265, 44%, 51%)
HSVhsv(265, 60%, 73%)
CMYKcmyk(34.6%, 60%, 0%, 27.5%)
CIE-LABlab(41.95, 43.04, -51.55)
CIE-LCHlch(41.95, 67.16, 309.86°)
OKLaboklab(51.79% 0.0846 -0.1462)
OKLCHoklch(51.79% 0.169 300.1)
XYZxyz(19.0888, 12.4651, 47.2899)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794AB9 #8AB94A
analogous
#4A52B9 #794AB9 #B04AB9
triadic
#794AB9 #B9794A #4AB979
tetradic
#794AB9 #B94A52 #8AB94A #4AB9B0
square
#794AB9 #B94A52 #8AB94A #4AB9B0
split-complementary
#794AB9 #B9B04A #52B94A
monochromatic
#402663 #5C378F #794AB9 #9A76CA #BAA2DB

Accessibility & contrast

On white

6.01
#794AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#794AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794AB9
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794AB9#FFFFFF#000000##FFFFFF
##794AB91.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0663BD
Deuteranopia (green-blind)
#2562B7
Tritanopia (blue-blind)
#6B617A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #794ab9;
/* rgb */ color: rgb(121, 74, 185);
/* oklch */ color: oklch(51.8% 0.169 300.1);
Tailwind
colors: {
  custom: {
    50: '#a47fcf',
    500: '#794ab9',
    950: '#000000',
  },
}
SCSS
$custom: #794ab9;
$custom-light: #a47fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#794ab9",
  "rgb": {
    "r": 121,
    "g": 74,
    "b": 185
  },
  "hsl": {
    "h": 265.405,
    "s": 44.223,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51789,
    "c": 0.16896,
    "h": 300.1
  },
  "luminance": 0.12465
}

Semantic roles & 50–950 ramp

primary
#794AB9
secondary
#B3C897
accent
#D4549E
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #794AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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