#794EE6#794EE6

#794EE6 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.7% C 0.217 H 290.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#794EE6
RGBrgb(121, 78, 230)
HSLhsl(257, 75%, 60%)
HSVhsv(257, 66%, 90%)
CMYKcmyk(47.4%, 66.1%, 0%, 9.8%)
CIE-LABlab(45.94, 52.89, -70.98)
CIE-LCHlch(45.94, 88.52, 306.69°)
OKLaboklab(55.69% 0.0764 -0.2034)
OKLCHoklch(55.69% 0.217 290.6)
XYZxyz(24.8884, 15.2259, 76.4751)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794EE6 #BBE64E
analogous
#4E6FE6 #794EE6 #C54EE6
triadic
#794EE6 #E6794E #4EE679
tetradic
#794EE6 #E64E6F #BBE64E #4EE6C5
square
#794EE6 #E64E6F #BBE64E #4EE6C5
split-complementary
#794EE6 #E6C54E #6FE64E
monochromatic
#3E17A3 #531FD8 #794EE6 #A284EE #CAB9F5

Accessibility & contrast

On white

5.19
#794EE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#794EE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794EE6
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794EE6#FFFFFF#000000##FFFFFF
##794EE61.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEB
Deuteranopia (green-blind)
#0069E3
Tritanopia (blue-blind)
#567394
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #794ee6;
/* rgb */ color: rgb(121, 78, 230);
/* oklch */ color: oklch(55.7% 0.217 290.6);
Tailwind
colors: {
  custom: {
    50: '#a882ef',
    500: '#794ee6',
    950: '#000000',
  },
}
SCSS
$custom: #794ee6;
$custom-light: #a882ef;
$custom-dark: #000000;
JSON
{
  "hex": "#794ee6",
  "rgb": {
    "r": 121,
    "g": 78,
    "b": 230
  },
  "hsl": {
    "h": 256.974,
    "s": 75.248,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55693,
    "c": 0.21725,
    "h": 290.6
  },
  "luminance": 0.15227
}

Semantic roles & 50–950 ramp

primary
#794EE6
secondary
#D5E5AB
accent
#D70E9E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #794EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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