#794EF4#794EF4

#794EF4 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.8% C 0.233 H 288.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#794EF4
RGBrgb(121, 78, 244)
HSLhsl(256, 88%, 63%)
HSVhsv(256, 68%, 96%)
CMYKcmyk(50.4%, 68%, 0%, 4.3%)
CIE-LABlab(47.03, 56.72, -77.09)
CIE-LCHlch(47.03, 95.71, 306.35°)
OKLaboklab(56.81% 0.0743 -0.2213)
OKLCHoklch(56.81% 0.233 288.6)
XYZxyz(26.9339, 16.0441, 87.2481)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794EF4 #C9F44E
analogous
#4E76F4 #794EF4 #CC4EF4
triadic
#794EF4 #F4794E #4EF479
tetradic
#794EF4 #F44E76 #C9F44E #4EF4CC
square
#794EF4 #F44E76 #C9F44E #4EF4CC
split-complementary
#794EF4 #F4CC4E #76F44E
monochromatic
#390CBC #4D14F0 #794EF4 #A588F8 #D0C1FB

Accessibility & contrast

On white

4.99
#794EF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#794EF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794EF4
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794EF4#FFFFFF#000000##FFFFFF
##794EF41.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F9
Deuteranopia (green-blind)
#006BF1
Tritanopia (blue-blind)
#4C789B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #794ef4;
/* rgb */ color: rgb(121, 78, 244);
/* oklch */ color: oklch(56.8% 0.233 288.6);
Tailwind
colors: {
  custom: {
    50: '#aa83f9',
    500: '#794ef4',
    950: '#000000',
  },
}
SCSS
$custom: #794ef4;
$custom-light: #aa83f9;
$custom-dark: #000000;
JSON
{
  "hex": "#794ef4",
  "rgb": {
    "r": 121,
    "g": 78,
    "b": 244
  },
  "hsl": {
    "h": 255.542,
    "s": 88.298,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56813,
    "c": 0.23344,
    "h": 288.6
  },
  "luminance": 0.16045
}

Semantic roles & 50–950 ramp

primary
#794EF4
secondary
#DDEDB1
accent
#E501AA
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #794EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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