#794EE4#794EE4

#794EE4 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.5% C 0.215 H 290.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#794EE4
RGBrgb(121, 78, 228)
HSLhsl(257, 74%, 60%)
HSVhsv(257, 66%, 89%)
CMYKcmyk(46.9%, 65.8%, 0%, 10.6%)
CIE-LABlab(45.79, 52.34, -70.10)
CIE-LCHlch(45.79, 87.48, 306.75°)
OKLaboklab(55.54% 0.0767 -0.2008)
OKLCHoklch(55.54% 0.215 290.9)
XYZxyz(24.6092, 15.1143, 75.0044)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794EE4 #B9E44E
analogous
#4E6EE4 #794EE4 #C44EE4
triadic
#794EE4 #E4794E #4EE479
tetradic
#794EE4 #E44E6E #B9E44E #4EE4C4
square
#794EE4 #E44E6E #B9E44E #4EE4C4
split-complementary
#794EE4 #E4C44E #6EE44E
monochromatic
#3F189F #5420D4 #794EE4 #A183EC #C9B8F4

Accessibility & contrast

On white

5.22
#794EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#794EE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794EE4
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794EE4#FFFFFF#000000##FFFFFF
##794EE41.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE9
Deuteranopia (green-blind)
#0069E1
Tritanopia (blue-blind)
#577392
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #794ee4;
/* rgb */ color: rgb(121, 78, 228);
/* oklch */ color: oklch(55.5% 0.215 290.9);
Tailwind
colors: {
  custom: {
    50: '#a882ee',
    500: '#794ee4',
    950: '#000000',
  },
}
SCSS
$custom: #794ee4;
$custom-light: #a882ee;
$custom-dark: #000000;
JSON
{
  "hex": "#794ee4",
  "rgb": {
    "r": 121,
    "g": 78,
    "b": 228
  },
  "hsl": {
    "h": 257.2,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.55536,
    "c": 0.21491,
    "h": 290.9
  },
  "luminance": 0.15115
}

Semantic roles & 50–950 ramp

primary
#794EE4
secondary
#D3E4AA
accent
#F038BB
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #794EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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