#794DF4#794DF4

#794DF4 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.7% C 0.235 H 288.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#794DF4
RGBrgb(121, 77, 244)
HSLhsl(256, 88%, 63%)
HSVhsv(256, 68%, 96%)
CMYKcmyk(50.4%, 68.4%, 0%, 4.3%)
CIE-LABlab(46.85, 57.24, -77.39)
CIE-LCHlch(46.85, 96.26, 306.49°)
OKLaboklab(56.68% 0.0752 -0.2222)
OKLCHoklch(56.68% 0.235 288.7)
XYZxyz(26.8634, 15.9031, 87.2246)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DF4 #C8F44D
analogous
#4D75F4 #794DF4 #CC4DF4
triadic
#794DF4 #F4794D #4DF479
tetradic
#794DF4 #F44D75 #C8F44D #4DF4CC
square
#794DF4 #F44D75 #C8F44D #4DF4CC
split-complementary
#794DF4 #F4CC4D #75F44D
monochromatic
#3A0CBB #4E13F0 #794DF4 #A487F8 #D0C0FB

Accessibility & contrast

On white

5.02
#794DF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#794DF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DF4
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DF4#FFFFFF#000000##FFFFFF
##794DF41.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.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: #794df4;
/* rgb */ color: rgb(121, 77, 244);
/* oklch */ color: oklch(56.7% 0.235 288.7);
Tailwind
colors: {
  custom: {
    50: '#aa82f9',
    500: '#794df4',
    950: '#000000',
  },
}
SCSS
$custom: #794df4;
$custom-light: #aa82f9;
$custom-dark: #000000;
JSON
{
  "hex": "#794df4",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 244
  },
  "hsl": {
    "h": 255.808,
    "s": 88.36,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56681,
    "c": 0.23456,
    "h": 288.7
  },
  "luminance": 0.15904
}

Semantic roles & 50–950 ramp

primary
#794DF4
secondary
#DDECB0
accent
#E501A9
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #794DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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