#794ED4#794ED4

#794ED4 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.3% C 0.196 H 293.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#794ED4
RGBrgb(121, 78, 212)
HSLhsl(259, 61%, 57%)
HSVhsv(259, 63%, 83%)
CMYKcmyk(42.9%, 63.2%, 0%, 16.9%)
CIE-LABlab(44.61, 48.00, -62.89)
CIE-LCHlch(44.61, 79.11, 307.35°)
OKLaboklab(54.32% 0.0784 -0.1796)
OKLCHoklch(54.32% 0.196 293.6)
XYZxyz(22.4900, 14.2666, 63.8434)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794ED4 #A9D44E
analogous
#4E66D4 #794ED4 #BC4ED4
triadic
#794ED4 #D4794E #4ED479
tetradic
#794ED4 #D44E66 #A9D44E #4ED4BC
square
#794ED4 #D44E66 #A9D44E #4ED4BC
split-complementary
#794ED4 #D4BC4E #66D44E
monochromatic
#422187 #592DB8 #794ED4 #9E7FE0 #C4B0EC

Accessibility & contrast

On white

5.45
#794ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#794ED4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794ED4
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794ED4#FFFFFF#000000##FFFFFF
##794ED41.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD8
Deuteranopia (green-blind)
#0067D1
Tritanopia (blue-blind)
#606D8A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #794ed4;
/* rgb */ color: rgb(121, 78, 212);
/* oklch */ color: oklch(54.3% 0.196 293.6);
Tailwind
colors: {
  custom: {
    50: '#a682e2',
    500: '#794ed4',
    950: '#000000',
  },
}
SCSS
$custom: #794ed4;
$custom-light: #a682e2;
$custom-dark: #000000;
JSON
{
  "hex": "#794ed4",
  "rgb": {
    "r": 121,
    "g": 78,
    "b": 212
  },
  "hsl": {
    "h": 259.254,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54316,
    "c": 0.19596,
    "h": 293.6
  },
  "luminance": 0.14267
}

Semantic roles & 50–950 ramp

primary
#794ED4
secondary
#C9DAA4
accent
#E444B1
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B15
muted
#7F7C84

Preview Lab

Preview with #794ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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