#794EE1#794EE1

#794EE1 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.3% C 0.211 H 291.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#794EE1
RGBrgb(121, 78, 225)
HSLhsl(258, 71%, 59%)
HSVhsv(258, 65%, 88%)
CMYKcmyk(46.2%, 65.3%, 0%, 11.8%)
CIE-LABlab(45.56, 51.52, -68.76)
CIE-LCHlch(45.56, 85.93, 306.84°)
OKLaboklab(55.3% 0.077 -0.1968)
OKLCHoklch(55.3% 0.211 291.4)
XYZxyz(24.1963, 14.9491, 72.8301)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794EE1 #B6E14E
analogous
#4E6DE1 #794EE1 #C34EE1
triadic
#794EE1 #E1794E #4EE179
tetradic
#794EE1 #E14E6D #B6E14E #4EE1C3
square
#794EE1 #E14E6D #B6E14E #4EE1C3
split-complementary
#794EE1 #E1C34E #6DE14E
monochromatic
#401A9A #5523CF #794EE1 #A182EA #C8B7F3

Accessibility & contrast

On white

5.26
#794EE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#794EE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794EE1
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794EE1#FFFFFF#000000##FFFFFF
##794EE11.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE6
Deuteranopia (green-blind)
#0069DE
Tritanopia (blue-blind)
#597291
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #794ee1;
/* rgb */ color: rgb(121, 78, 225);
/* oklch */ color: oklch(55.3% 0.211 291.4);
Tailwind
colors: {
  custom: {
    50: '#a882eb',
    500: '#794ee1',
    950: '#000000',
  },
}
SCSS
$custom: #794ee1;
$custom-light: #a882eb;
$custom-dark: #000000;
JSON
{
  "hex": "#794ee1",
  "rgb": {
    "r": 121,
    "g": 78,
    "b": 225
  },
  "hsl": {
    "h": 257.551,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55303,
    "c": 0.21139,
    "h": 291.4
  },
  "luminance": 0.1495
}

Semantic roles & 50–950 ramp

primary
#794EE1
secondary
#D1E2A9
accent
#EE3AB9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #794EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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