#794EEF#794EEF

#794EEF is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.4% C 0.228 H 289.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#794EEF
RGBrgb(121, 78, 239)
HSLhsl(256, 83%, 62%)
HSVhsv(256, 67%, 94%)
CMYKcmyk(49.4%, 67.4%, 0%, 6.3%)
CIE-LABlab(46.64, 55.35, -74.93)
CIE-LCHlch(46.64, 93.16, 306.46°)
OKLaboklab(56.41% 0.0751 -0.2149)
OKLCHoklch(56.41% 0.228 289.3)
XYZxyz(26.1850, 15.7446, 83.3039)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794EEF #C4EF4E
analogous
#4E73EF #794EEF #CA4EEF
triadic
#794EEF #EF794E #4EEF79
tetradic
#794EEF #EF4E73 #C4EF4E #4EEFCA
square
#794EEF #EF4E73 #C4EF4E #4EEFCA
split-complementary
#794EEF #EFCA4E #73EF4E
monochromatic
#3B10B2 #4F16EA #794EEF #A386F4 #CEBEF9

Accessibility & contrast

On white

5.06
#794EEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#794EEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794EEF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794EEF#FFFFFF#000000##FFFFFF
##794EEF1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F4
Deuteranopia (green-blind)
#006BEC
Tritanopia (blue-blind)
#507798
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #794eef;
/* rgb */ color: rgb(121, 78, 239);
/* oklch */ color: oklch(56.4% 0.228 289.3);
Tailwind
colors: {
  custom: {
    50: '#a982f5',
    500: '#794eef',
    950: '#000000',
  },
}
SCSS
$custom: #794eef;
$custom-light: #a982f5;
$custom-dark: #000000;
JSON
{
  "hex": "#794eef",
  "rgb": {
    "r": 121,
    "g": 78,
    "b": 239
  },
  "hsl": {
    "h": 256.025,
    "s": 83.42,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56408,
    "c": 0.2277,
    "h": 289.3
  },
  "luminance": 0.15746
}

Semantic roles & 50–950 ramp

primary
#794EEF
secondary
#DAEAAF
accent
#E006A6
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #794EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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