#794DE8#794DE8

#794DE8 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.7% C 0.221 H 290.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#794DE8
RGBrgb(121, 77, 232)
HSLhsl(257, 77%, 61%)
HSVhsv(257, 67%, 91%)
CMYKcmyk(47.8%, 66.8%, 0%, 9%)
CIE-LABlab(45.90, 53.96, -72.18)
CIE-LCHlch(45.90, 90.12, 306.78°)
OKLaboklab(55.71% 0.0771 -0.2069)
OKLCHoklch(55.71% 0.221 290.4)
XYZxyz(25.1004, 15.1979, 77.9392)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DE8 #BCE84D
analogous
#4D6FE8 #794DE8 #C64DE8
triadic
#794DE8 #E8794D #4DE879
tetradic
#794DE8 #E84D6F #BCE84D #4DE8C6
square
#794DE8 #E84D6F #BCE84D #4DE8C6
split-complementary
#794DE8 #E8C64D #6FE84D
monochromatic
#3E15A5 #531CDB #794DE8 #A283EF #CBB9F6

Accessibility & contrast

On white

5.20
#794DE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#794DE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DE8
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DE8#FFFFFF#000000##FFFFFF
##794DE81.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FED
Deuteranopia (green-blind)
#0069E5
Tritanopia (blue-blind)
#557494
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #794de8;
/* rgb */ color: rgb(121, 77, 232);
/* oklch */ color: oklch(55.7% 0.221 290.4);
Tailwind
colors: {
  custom: {
    50: '#a882f0',
    500: '#794de8',
    950: '#000000',
  },
}
SCSS
$custom: #794de8;
$custom-light: #a882f0;
$custom-dark: #000000;
JSON
{
  "hex": "#794de8",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 232
  },
  "hsl": {
    "h": 257.032,
    "s": 77.114,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55713,
    "c": 0.22076,
    "h": 290.4
  },
  "luminance": 0.15199
}

Semantic roles & 50–950 ramp

primary
#794DE8
secondary
#D5E6AB
accent
#D90C9F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #794DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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