#794EEB#794EEB

#794EEB is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.1% C 0.223 H 289.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#794EEB
RGBrgb(121, 78, 235)
HSLhsl(256, 80%, 61%)
HSVhsv(256, 67%, 92%)
CMYKcmyk(48.5%, 66.8%, 0%, 7.8%)
CIE-LABlab(46.33, 54.26, -73.18)
CIE-LCHlch(46.33, 91.10, 306.55°)
OKLaboklab(56.09% 0.0757 -0.2098)
OKLCHoklch(56.09% 0.223 289.8)
XYZxyz(25.6006, 15.5108, 80.2261)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794EEB #C0EB4E
analogous
#4E72EB #794EEB #C84EEB
triadic
#794EEB #EB794E #4EEB79
tetradic
#794EEB #EB4E72 #C0EB4E #4EEBC8
square
#794EEB #EB4E72 #C0EB4E #4EEBC8
split-complementary
#794EEB #EBC84E #72EB4E
monochromatic
#3D13AB #511AE2 #794EEB #A385F1 #CCBCF7

Accessibility & contrast

On white

5.12
#794EEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#794EEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794EEB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794EEB#FFFFFF#000000##FFFFFF
##794EEB1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F0
Deuteranopia (green-blind)
#006AE8
Tritanopia (blue-blind)
#537596
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #794eeb;
/* rgb */ color: rgb(121, 78, 235);
/* oklch */ color: oklch(56.1% 0.223 289.8);
Tailwind
colors: {
  custom: {
    50: '#a982f2',
    500: '#794eeb',
    950: '#000000',
  },
}
SCSS
$custom: #794eeb;
$custom-light: #a982f2;
$custom-dark: #000000;
JSON
{
  "hex": "#794eeb",
  "rgb": {
    "r": 121,
    "g": 78,
    "b": 235
  },
  "hsl": {
    "h": 256.433,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56088,
    "c": 0.22307,
    "h": 289.8
  },
  "luminance": 0.15512
}

Semantic roles & 50–950 ramp

primary
#794EEB
secondary
#D8E8AD
accent
#DC09A2
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #794EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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