#794EE0#794EE0

#794EE0 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.2% C 0.210 H 291.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#794EE0
RGBrgb(121, 78, 224)
HSLhsl(258, 70%, 59%)
HSVhsv(258, 65%, 88%)
CMYKcmyk(46%, 65.2%, 0%, 12.2%)
CIE-LABlab(45.49, 51.25, -68.32)
CIE-LCHlch(45.49, 85.41, 306.88°)
OKLaboklab(55.23% 0.0772 -0.1955)
OKLCHoklch(55.23% 0.21 291.5)
XYZxyz(24.0603, 14.8947, 72.1138)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794EE0 #B5E04E
analogous
#4E6CE0 #794EE0 #C24EE0
triadic
#794EE0 #E0794E #4EE079
tetradic
#794EE0 #E04E6C #B5E04E #4EE0C2
square
#794EE0 #E04E6C #B5E04E #4EE0C2
split-complementary
#794EE0 #E0C24E #6CE04E
monochromatic
#401B99 #5624CD #794EE0 #A082E9 #C8B6F2

Accessibility & contrast

On white

5.28
#794EE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#794EE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794EE0
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794EE0#FFFFFF#000000##FFFFFF
##794EE01.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE5
Deuteranopia (green-blind)
#0069DD
Tritanopia (blue-blind)
#597190
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #794ee0;
/* rgb */ color: rgb(121, 78, 224);
/* oklch */ color: oklch(55.2% 0.210 291.5);
Tailwind
colors: {
  custom: {
    50: '#a782eb',
    500: '#794ee0',
    950: '#000000',
  },
}
SCSS
$custom: #794ee0;
$custom-light: #a782eb;
$custom-dark: #000000;
JSON
{
  "hex": "#794ee0",
  "rgb": {
    "r": 121,
    "g": 78,
    "b": 224
  },
  "hsl": {
    "h": 257.671,
    "s": 70.192,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55225,
    "c": 0.21021,
    "h": 291.5
  },
  "luminance": 0.14896
}

Semantic roles & 50–950 ramp

primary
#794EE0
secondary
#D1E1A8
accent
#ED3BB9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #794EE0

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

Preview Lab → · Contrast checker → · Palette generator →

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