#794EF5#794EF5

#794EF5 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.9% C 0.235 H 288.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#794EF5
RGBrgb(121, 78, 245)
HSLhsl(255, 89%, 63%)
HSVhsv(255, 68%, 96%)
CMYKcmyk(50.6%, 68.2%, 0%, 3.9%)
CIE-LABlab(47.11, 57.00, -77.52)
CIE-LCHlch(47.11, 96.22, 306.33°)
OKLaboklab(56.9% 0.0741 -0.2226)
OKLCHoklch(56.9% 0.235 288.4)
XYZxyz(27.0862, 16.1050, 88.0499)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794EF5 #CAF54E
analogous
#4E76F5 #794EF5 #CC4EF5
triadic
#794EF5 #F5794E #4EF579
tetradic
#794EF5 #F54E76 #CAF54E #4EF5CC
square
#794EF5 #F54E76 #CAF54E #4EF5CC
split-complementary
#794EF5 #F5CC4E #76F54E
monochromatic
#390BBE #4D14F2 #794EF5 #A588F8 #D1C2FC

Accessibility & contrast

On white

4.97
#794EF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#794EF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794EF5
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794EF5#FFFFFF#000000##FFFFFF
##794EF51.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073FA
Deuteranopia (green-blind)
#006BF2
Tritanopia (blue-blind)
#4B799C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #794ef5;
/* rgb */ color: rgb(121, 78, 245);
/* oklch */ color: oklch(56.9% 0.235 288.4);
Tailwind
colors: {
  custom: {
    50: '#aa83fa',
    500: '#794ef5',
    950: '#000000',
  },
}
SCSS
$custom: #794ef5;
$custom-light: #aa83fa;
$custom-dark: #000000;
JSON
{
  "hex": "#794ef5",
  "rgb": {
    "r": 121,
    "g": 78,
    "b": 245
  },
  "hsl": {
    "h": 255.449,
    "s": 89.305,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56895,
    "c": 0.23459,
    "h": 288.4
  },
  "luminance": 0.16106
}

Semantic roles & 50–950 ramp

primary
#794EF5
secondary
#DEEDB2
accent
#E600AA
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #794EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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