#794CE1#794CE1

#794CE1 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.0% C 0.214 H 291.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#794CE1
RGBrgb(121, 76, 225)
HSLhsl(258, 71%, 59%)
HSVhsv(258, 66%, 88%)
CMYKcmyk(46.2%, 66.2%, 0%, 11.8%)
CIE-LABlab(45.18, 52.58, -69.39)
CIE-LCHlch(45.18, 87.06, 307.15°)
OKLaboklab(55.02% 0.079 -0.1987)
OKLCHoklch(55.02% 0.214 291.7)
XYZxyz(24.0564, 14.6692, 72.7835)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CE1 #B4E14C
analogous
#4C6AE1 #794CE1 #C44CE1
triadic
#794CE1 #E1794C #4CE179
tetradic
#794CE1 #E14C6A #B4E14C #4CE1C4
square
#794CE1 #E14C6A #B4E14C #4CE1C4
split-complementary
#794CE1 #E1C44C #6AE14C
monochromatic
#401A99 #5622CD #794CE1 #A080EA #C7B5F3

Accessibility & contrast

On white

5.34
#794CE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#794CE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CE1
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CE1#FFFFFF#000000##FFFFFF
##794CE11.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE6
Deuteranopia (green-blind)
#0068DE
Tritanopia (blue-blind)
#597090
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #794ce1;
/* rgb */ color: rgb(121, 76, 225);
/* oklch */ color: oklch(55.0% 0.214 291.7);
Tailwind
colors: {
  custom: {
    50: '#a881eb',
    500: '#794ce1',
    950: '#000000',
  },
}
SCSS
$custom: #794ce1;
$custom-light: #a881eb;
$custom-dark: #000000;
JSON
{
  "hex": "#794ce1",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 225
  },
  "hsl": {
    "h": 258.121,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55024,
    "c": 0.21383,
    "h": 291.7
  },
  "luminance": 0.1467
}

Semantic roles & 50–950 ramp

primary
#794CE1
secondary
#D0E2A7
accent
#EE3AB8
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #794CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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