#794EE2#794EE2

#794EE2 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.4% C 0.213 H 291.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#794EE2
RGBrgb(121, 78, 226)
HSLhsl(257, 72%, 60%)
HSVhsv(257, 65%, 89%)
CMYKcmyk(46.5%, 65.5%, 0%, 11.4%)
CIE-LABlab(45.64, 51.80, -69.21)
CIE-LCHlch(45.64, 86.45, 306.81°)
OKLaboklab(55.38% 0.0769 -0.1982)
OKLCHoklch(55.38% 0.213 291.2)
XYZxyz(24.3332, 15.0038, 73.5507)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794EE2 #B7E24E
analogous
#4E6DE2 #794EE2 #C34EE2
triadic
#794EE2 #E2794E #4EE279
tetradic
#794EE2 #E24E6D #B7E24E #4EE2C3
square
#794EE2 #E24E6D #B7E24E #4EE2C3
split-complementary
#794EE2 #E2C34E #6DE24E
monochromatic
#3F1A9C #5522D1 #794EE2 #A183EB #C9B7F3

Accessibility & contrast

On white

5.25
#794EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#794EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794EE2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794EE2#FFFFFF#000000##FFFFFF
##794EE21.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#587291
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #794ee2;
/* rgb */ color: rgb(121, 78, 226);
/* oklch */ color: oklch(55.4% 0.213 291.2);
Tailwind
colors: {
  custom: {
    50: '#a882ec',
    500: '#794ee2',
    950: '#000000',
  },
}
SCSS
$custom: #794ee2;
$custom-light: #a882ec;
$custom-dark: #000000;
JSON
{
  "hex": "#794ee2",
  "rgb": {
    "r": 121,
    "g": 78,
    "b": 226
  },
  "hsl": {
    "h": 257.432,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5538,
    "c": 0.21257,
    "h": 291.2
  },
  "luminance": 0.15005
}

Semantic roles & 50–950 ramp

primary
#794EE2
secondary
#D2E3A9
accent
#EF39BA
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #794EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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