#794DEC#794DEC

#794DEC is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.0% C 0.225 H 289.8°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#794DEC
RGBrgb(121, 77, 236)
HSLhsl(257, 81%, 61%)
HSVhsv(257, 67%, 93%)
CMYKcmyk(48.7%, 67.4%, 0%, 7.5%)
CIE-LABlab(46.21, 55.05, -73.93)
CIE-LCHlch(46.21, 92.17, 306.67°)
OKLaboklab(56.03% 0.0765 -0.212)
OKLCHoklch(56.03% 0.225 289.8)
XYZxyz(25.6750, 15.4278, 80.9656)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DEC #C0EC4D
analogous
#4D71EC #794DEC #C94DEC
triadic
#794DEC #EC794D #4DEC79
tetradic
#794DEC #EC4D71 #C0EC4D #4DECC9
square
#794DEC #EC4D71 #C0EC4D #4DECC9
split-complementary
#794DEC #ECC94D #71EC4D
monochromatic
#3D12AC #5118E4 #794DEC #A384F2 #CCBCF8

Accessibility & contrast

On white

5.14
#794DEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#794DEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DEC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DEC#FFFFFF#000000##FFFFFF
##794DEC1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F1
Deuteranopia (green-blind)
#006AE9
Tritanopia (blue-blind)
#527596
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #794dec;
/* rgb */ color: rgb(121, 77, 236);
/* oklch */ color: oklch(56.0% 0.225 289.8);
Tailwind
colors: {
  custom: {
    50: '#a982f3',
    500: '#794dec',
    950: '#000000',
  },
}
SCSS
$custom: #794dec;
$custom-light: #a982f3;
$custom-dark: #000000;
JSON
{
  "hex": "#794dec",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 236
  },
  "hsl": {
    "h": 256.604,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56032,
    "c": 0.22539,
    "h": 289.8
  },
  "luminance": 0.15429
}

Semantic roles & 50–950 ramp

primary
#794DEC
secondary
#D8E8AD
accent
#DD08A2
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #794DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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