#794DE1#794DE1

#794DE1 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.2% C 0.213 H 291.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#794DE1
RGBrgb(121, 77, 225)
HSLhsl(258, 71%, 59%)
HSVhsv(258, 66%, 88%)
CMYKcmyk(46.2%, 65.8%, 0%, 11.8%)
CIE-LABlab(45.37, 52.05, -69.08)
CIE-LCHlch(45.37, 86.50, 307.00°)
OKLaboklab(55.16% 0.078 -0.1978)
OKLCHoklch(55.16% 0.213 291.5)
XYZxyz(24.1258, 14.8081, 72.8066)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DE1 #B5E14D
analogous
#4D6BE1 #794DE1 #C34DE1
triadic
#794DE1 #E1794D #4DE179
tetradic
#794DE1 #E14D6B #B5E14D #4DE1C3
square
#794DE1 #E14D6B #B5E14D #4DE1C3
split-complementary
#794DE1 #E1C34D #6BE14D
monochromatic
#401A9A #5623CE #794DE1 #A081EA #C8B6F3

Accessibility & contrast

On white

5.30
#794DE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #794DE1
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DE1#FFFFFF#000000##FFFFFF
##794DE11.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #794de1;
/* rgb */ color: rgb(121, 77, 225);
/* oklch */ color: oklch(55.2% 0.213 291.5);
Tailwind
colors: {
  custom: {
    50: '#a881eb',
    500: '#794de1',
    950: '#000000',
  },
}
SCSS
$custom: #794de1;
$custom-light: #a881eb;
$custom-dark: #000000;
JSON
{
  "hex": "#794de1",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 225
  },
  "hsl": {
    "h": 257.838,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55163,
    "c": 0.21261,
    "h": 291.5
  },
  "luminance": 0.14809
}

Semantic roles & 50–950 ramp

primary
#794DE1
secondary
#D1E2A8
accent
#EE3AB8
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #794DE1

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

Preview Lab → · Contrast checker → · Palette generator →

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