#794DE0#794DE0

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

Color values

HEX#794DE0
RGBrgb(121, 77, 224)
HSLhsl(258, 70%, 59%)
HSVhsv(258, 66%, 88%)
CMYKcmyk(46%, 65.6%, 0%, 12.2%)
CIE-LABlab(45.30, 51.78, -68.63)
CIE-LCHlch(45.30, 85.98, 307.03°)
OKLaboklab(55.08% 0.0782 -0.1965)
OKLCHoklch(55.08% 0.211 291.7)
XYZxyz(23.9898, 14.7537, 72.0903)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DE0 #B4E04D
analogous
#4D6BE0 #794DE0 #C34DE0
triadic
#794DE0 #E0794D #4DE079
tetradic
#794DE0 #E04D6B #B4E04D #4DE0C3
square
#794DE0 #E04D6B #B4E04D #4DE0C3
split-complementary
#794DE0 #E0C34D #6BE04D
monochromatic
#401A98 #5624CC #794DE0 #A081E9 #C7B5F2

Accessibility & contrast

On white

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

On black

3.95
#794DE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##794DE0#FFFFFF#000000##FFFFFF
##794DE01.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE5
Deuteranopia (green-blind)
#0068DD
Tritanopia (blue-blind)
#5A7190
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #794de0;
/* rgb */ color: rgb(121, 77, 224);
/* oklch */ color: oklch(55.1% 0.211 291.7);
Tailwind
colors: {
  custom: {
    50: '#a781eb',
    500: '#794de0',
    950: '#000000',
  },
}
SCSS
$custom: #794de0;
$custom-light: #a781eb;
$custom-dark: #000000;
JSON
{
  "hex": "#794de0",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 224
  },
  "hsl": {
    "h": 257.959,
    "s": 70.335,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55085,
    "c": 0.21144,
    "h": 291.7
  },
  "luminance": 0.14755
}

Semantic roles & 50–950 ramp

primary
#794DE0
secondary
#D0E1A8
accent
#ED3BB8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #794DE0

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

Preview Lab → · Contrast checker → · Palette generator →

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