#794AD2#794AD2

#794AD2 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.6% C 0.199 H 294.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#794AD2
RGBrgb(121, 74, 210)
HSLhsl(261, 60%, 56%)
HSVhsv(261, 65%, 82%)
CMYKcmyk(42.4%, 64.8%, 0%, 17.6%)
CIE-LABlab(43.68, 49.60, -63.26)
CIE-LCHlch(43.68, 80.39, 308.10°)
OKLaboklab(53.59% 0.0829 -0.1807)
OKLCHoklch(53.59% 0.199 294.6)
XYZxyz(21.9637, 13.6151, 62.4310)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794AD2 #A3D24A
analogous
#4A5FD2 #794AD2 #BD4AD2
triadic
#794AD2 #D2794A #4AD279
tetradic
#794AD2 #D24A5F #A3D24A #4AD2BD
square
#794AD2 #D24A5F #A3D24A #4AD2BD
split-complementary
#794AD2 #D2BD4A #5FD24A
monochromatic
#422081 #5B2CB2 #794AD2 #9D7BDE #C2ACEA

Accessibility & contrast

On white

5.64
#794AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#794AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794AD2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794AD2#FFFFFF#000000##FFFFFF
##794AD21.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#0065CF
Tritanopia (blue-blind)
#616A87
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #794ad2;
/* rgb */ color: rgb(121, 74, 210);
/* oklch */ color: oklch(53.6% 0.199 294.6);
Tailwind
colors: {
  custom: {
    50: '#a67fe1',
    500: '#794ad2',
    950: '#000000',
  },
}
SCSS
$custom: #794ad2;
$custom-light: #a67fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#794ad2",
  "rgb": {
    "r": 121,
    "g": 74,
    "b": 210
  },
  "hsl": {
    "h": 260.735,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53593,
    "c": 0.19877,
    "h": 294.6
  },
  "luminance": 0.13616
}

Semantic roles & 50–950 ramp

primary
#794AD2
secondary
#C5D8A0
accent
#E344AC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #794AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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