#794CE2#794CE2

#794CE2 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.1% C 0.215 H 291.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#794CE2
RGBrgb(121, 76, 226)
HSLhsl(258, 72%, 59%)
HSVhsv(258, 66%, 89%)
CMYKcmyk(46.5%, 66.4%, 0%, 11.4%)
CIE-LABlab(45.25, 52.85, -69.84)
CIE-LCHlch(45.25, 87.58, 307.12°)
OKLaboklab(55.1% 0.0789 -0.2)
OKLCHoklch(55.1% 0.215 291.5)
XYZxyz(24.1932, 14.7240, 73.5040)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CE2 #B5E24C
analogous
#4C6AE2 #794CE2 #C44CE2
triadic
#794CE2 #E2794C #4CE279
tetradic
#794CE2 #E24C6A #B5E24C #4CE2C4
square
#794CE2 #E24C6A #B5E24C #4CE2C4
split-complementary
#794CE2 #E2C44C #6AE24C
monochromatic
#40199B #5622CF #794CE2 #A081EB #C8B5F3

Accessibility & contrast

On white

5.32
#794CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#794CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CE2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CE2#FFFFFF#000000##FFFFFF
##794CE21.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #794ce2;
/* rgb */ color: rgb(121, 76, 226);
/* oklch */ color: oklch(55.1% 0.215 291.5);
Tailwind
colors: {
  custom: {
    50: '#a881ec',
    500: '#794ce2',
    950: '#000000',
  },
}
SCSS
$custom: #794ce2;
$custom-light: #a881ec;
$custom-dark: #000000;
JSON
{
  "hex": "#794ce2",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 226
  },
  "hsl": {
    "h": 258,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55103,
    "c": 0.21499,
    "h": 291.5
  },
  "luminance": 0.14725
}

Semantic roles & 50–950 ramp

primary
#794CE2
secondary
#D1E2A8
accent
#EF39B8
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #794CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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