#794DE2#794DE2

#794DE2 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.2% C 0.214 H 291.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#794DE2
RGBrgb(121, 77, 226)
HSLhsl(258, 72%, 59%)
HSVhsv(258, 66%, 89%)
CMYKcmyk(46.5%, 65.9%, 0%, 11.4%)
CIE-LABlab(45.45, 52.33, -69.53)
CIE-LCHlch(45.45, 87.02, 306.97°)
OKLaboklab(55.24% 0.0779 -0.1991)
OKLCHoklch(55.24% 0.214 291.4)
XYZxyz(24.2626, 14.8628, 73.5272)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DE2 #B6E24D
analogous
#4D6CE2 #794DE2 #C44DE2
triadic
#794DE2 #E2794D #4DE279
tetradic
#794DE2 #E24D6C #B6E24D #4DE2C4
square
#794DE2 #E24D6C #B6E24D #4DE2C4
split-complementary
#794DE2 #E2C44D #6CE24D
monochromatic
#40199B #5522D0 #794DE2 #A182EB #C8B6F3

Accessibility & contrast

On white

5.29
#794DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#794DE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DE2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DE2#FFFFFF#000000##FFFFFF
##794DE21.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0068DF
Tritanopia (blue-blind)
#587191
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #794de2;
/* rgb */ color: rgb(121, 77, 226);
/* oklch */ color: oklch(55.2% 0.214 291.4);
Tailwind
colors: {
  custom: {
    50: '#a881ec',
    500: '#794de2',
    950: '#000000',
  },
}
SCSS
$custom: #794de2;
$custom-light: #a881ec;
$custom-dark: #000000;
JSON
{
  "hex": "#794de2",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 226
  },
  "hsl": {
    "h": 257.718,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55241,
    "c": 0.21378,
    "h": 291.4
  },
  "luminance": 0.14864
}

Semantic roles & 50–950 ramp

primary
#794DE2
secondary
#D1E2A8
accent
#EF39B9
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #794DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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