#794CE5#794CE5

#794CE5 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.3% C 0.218 H 291.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#794CE5
RGBrgb(121, 76, 229)
HSLhsl(258, 75%, 60%)
HSVhsv(258, 67%, 90%)
CMYKcmyk(47.2%, 66.8%, 0%, 10.2%)
CIE-LABlab(45.48, 53.66, -71.16)
CIE-LCHlch(45.48, 89.13, 307.02°)
OKLaboklab(55.34% 0.0785 -0.2039)
OKLCHoklch(55.34% 0.218 291)
XYZxyz(24.6085, 14.8901, 75.6910)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CE5 #B8E54C
analogous
#4C6CE5 #794CE5 #C54CE5
triadic
#794CE5 #E5794C #4CE579
tetradic
#794CE5 #E54C6C #B8E54C #4CE5C5
square
#794CE5 #E54C6C #B8E54C #4CE5C5
split-complementary
#794CE5 #E5C54C #6CE54C
monochromatic
#3F179F #541FD5 #794CE5 #A181ED #C9B7F5

Accessibility & contrast

On white

5.28
#794CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#794CE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CE5
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CE5#FFFFFF#000000##FFFFFF
##794CE51.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEA
Deuteranopia (green-blind)
#0068E2
Tritanopia (blue-blind)
#577292
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #794ce5;
/* rgb */ color: rgb(121, 76, 229);
/* oklch */ color: oklch(55.3% 0.218 291.0);
Tailwind
colors: {
  custom: {
    50: '#a881ee',
    500: '#794ce5',
    950: '#000000',
  },
}
SCSS
$custom: #794ce5;
$custom-light: #a881ee;
$custom-dark: #000000;
JSON
{
  "hex": "#794ce5",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 229
  },
  "hsl": {
    "h": 257.647,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55339,
    "c": 0.21847,
    "h": 291
  },
  "luminance": 0.14891
}

Semantic roles & 50–950 ramp

primary
#794CE5
secondary
#D3E4A9
accent
#F137BA
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A17
muted
#807C85

Preview Lab

Preview with #794CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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