#794AE3#794AE3

#794AE3 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.9% C 0.219 H 291.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#794AE3
RGBrgb(121, 74, 227)
HSLhsl(258, 73%, 59%)
HSVhsv(258, 67%, 89%)
CMYKcmyk(46.7%, 67.4%, 0%, 11%)
CIE-LABlab(44.95, 54.16, -70.90)
CIE-LCHlch(44.95, 89.22, 307.38°)
OKLaboklab(54.91% 0.0807 -0.2031)
OKLCHoklch(54.91% 0.219 291.7)
XYZxyz(24.1952, 14.5077, 74.1836)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794AE3 #B4E34A
analogous
#4A68E3 #794AE3 #C54AE3
triadic
#794AE3 #E3794A #4AE379
tetradic
#794AE3 #E34A68 #B4E34A #4AE3C5
square
#794AE3 #E34A68 #B4E34A #4AE3C5
split-complementary
#794AE3 #E3C54A #68E34A
monochromatic
#40189B #5620D0 #794AE3 #A07FEB #C7B4F3

Accessibility & contrast

On white

5.38
#794AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#794AE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794AE3
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794AE3#FFFFFF#000000##FFFFFF
##794AE31.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE8
Deuteranopia (green-blind)
#0067E0
Tritanopia (blue-blind)
#587091
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #794ae3;
/* rgb */ color: rgb(121, 74, 227);
/* oklch */ color: oklch(54.9% 0.219 291.7);
Tailwind
colors: {
  custom: {
    50: '#a880ed',
    500: '#794ae3',
    950: '#000000',
  },
}
SCSS
$custom: #794ae3;
$custom-light: #a880ed;
$custom-dark: #000000;
JSON
{
  "hex": "#794ae3",
  "rgb": {
    "r": 121,
    "g": 74,
    "b": 227
  },
  "hsl": {
    "h": 258.431,
    "s": 73.206,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5491,
    "c": 0.21853,
    "h": 291.7
  },
  "luminance": 0.14509
}

Semantic roles & 50–950 ramp

primary
#794AE3
secondary
#D0E2A6
accent
#F038B7
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #794AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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