#794DE4#794DE4

#794DE4 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.4% C 0.216 H 291.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#794DE4
RGBrgb(121, 77, 228)
HSLhsl(257, 74%, 60%)
HSVhsv(257, 66%, 89%)
CMYKcmyk(46.9%, 66.2%, 0%, 10.6%)
CIE-LABlab(45.60, 52.87, -70.41)
CIE-LCHlch(45.60, 88.05, 306.90°)
OKLaboklab(55.4% 0.0776 -0.2017)
OKLCHoklch(55.4% 0.216 291.1)
XYZxyz(24.5387, 14.9732, 74.9809)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DE4 #B8E44D
analogous
#4D6DE4 #794DE4 #C44DE4
triadic
#794DE4 #E4794D #4DE479
tetradic
#794DE4 #E44D6D #B8E44D #4DE4C4
square
#794DE4 #E44D6D #B8E44D #4DE4C4
split-complementary
#794DE4 #E4C44D #6DE44D
monochromatic
#3F189F #5420D4 #794DE4 #A182EC #C9B7F4

Accessibility & contrast

On white

5.26
#794DE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#794DE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DE4
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DE4#FFFFFF#000000##FFFFFF
##794DE41.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE9
Deuteranopia (green-blind)
#0069E1
Tritanopia (blue-blind)
#577292
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #794de4;
/* rgb */ color: rgb(121, 77, 228);
/* oklch */ color: oklch(55.4% 0.216 291.1);
Tailwind
colors: {
  custom: {
    50: '#a882ee',
    500: '#794de4',
    950: '#000000',
  },
}
SCSS
$custom: #794de4;
$custom-light: #a882ee;
$custom-dark: #000000;
JSON
{
  "hex": "#794de4",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 228
  },
  "hsl": {
    "h": 257.483,
    "s": 73.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55397,
    "c": 0.21612,
    "h": 291.1
  },
  "luminance": 0.14974
}

Semantic roles & 50–950 ramp

primary
#794DE4
secondary
#D3E4A9
accent
#F037BA
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #794DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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