#794EDE#794EDE

#794EDE is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.1% C 0.208 H 291.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#794EDE
RGBrgb(121, 78, 222)
HSLhsl(258, 69%, 59%)
HSVhsv(258, 65%, 87%)
CMYKcmyk(45.5%, 64.9%, 0%, 12.9%)
CIE-LABlab(45.34, 50.71, -67.42)
CIE-LCHlch(45.34, 84.36, 306.95°)
OKLaboklab(55.07% 0.0774 -0.1929)
OKLCHoklch(55.07% 0.208 291.9)
XYZxyz(23.7907, 14.7869, 70.6937)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794EDE #B3DE4E
analogous
#4E6BDE #794EDE #C14EDE
triadic
#794EDE #DE794E #4EDE79
tetradic
#794EDE #DE4E6B #B3DE4E #4EDEC1
square
#794EDE #DE4E6B #B3DE4E #4EDEC1
split-complementary
#794EDE #DEC14E #6BDE4E
monochromatic
#401C96 #5626C9 #794EDE #A082E8 #C7B5F1

Accessibility & contrast

On white

5.31
#794EDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#794EDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794EDE
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794EDE#FFFFFF#000000##FFFFFF
##794EDE1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE2
Deuteranopia (green-blind)
#0068DB
Tritanopia (blue-blind)
#5B718F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #794ede;
/* rgb */ color: rgb(121, 78, 222);
/* oklch */ color: oklch(55.1% 0.208 291.9);
Tailwind
colors: {
  custom: {
    50: '#a782e9',
    500: '#794ede',
    950: '#000000',
  },
}
SCSS
$custom: #794ede;
$custom-light: #a782e9;
$custom-dark: #000000;
JSON
{
  "hex": "#794ede",
  "rgb": {
    "r": 121,
    "g": 78,
    "b": 222
  },
  "hsl": {
    "h": 257.917,
    "s": 68.571,
    "l": 58.824
  },
  "oklch": {
    "l": 0.55071,
    "c": 0.20785,
    "h": 291.9
  },
  "luminance": 0.14788
}

Semantic roles & 50–950 ramp

primary
#794EDE
secondary
#CFE0A8
accent
#EB3CB7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #794EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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