#794AE0#794AE0

#794AE0 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.7% C 0.215 H 292.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#794AE0
RGBrgb(121, 74, 224)
HSLhsl(259, 71%, 58%)
HSVhsv(259, 67%, 88%)
CMYKcmyk(46%, 67%, 0%, 12.2%)
CIE-LABlab(44.72, 53.35, -69.57)
CIE-LCHlch(44.72, 87.67, 307.48°)
OKLaboklab(54.67% 0.0811 -0.1992)
OKLCHoklch(54.67% 0.215 292.2)
XYZxyz(23.7847, 14.3435, 72.0219)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794AE0 #B1E04A
analogous
#4A66E0 #794AE0 #C44AE0
triadic
#794AE0 #E0794A #4AE079
tetradic
#794AE0 #E04A66 #B1E04A #4AE0C4
square
#794AE0 #E04A66 #B1E04A #4AE0C4
split-complementary
#794AE0 #E0C44A #66E04A
monochromatic
#411A96 #5723CA #794AE0 #A07EE9 #C6B3F2

Accessibility & contrast

On white

5.43
#794AE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#794AE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794AE0
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794AE0#FFFFFF#000000##FFFFFF
##794AE01.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE5
Deuteranopia (green-blind)
#0067DD
Tritanopia (blue-blind)
#5A6F8F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #794ae0;
/* rgb */ color: rgb(121, 74, 224);
/* oklch */ color: oklch(54.7% 0.215 292.2);
Tailwind
colors: {
  custom: {
    50: '#a880eb',
    500: '#794ae0',
    950: '#000000',
  },
}
SCSS
$custom: #794ae0;
$custom-light: #a880eb;
$custom-dark: #000000;
JSON
{
  "hex": "#794ae0",
  "rgb": {
    "r": 121,
    "g": 74,
    "b": 224
  },
  "hsl": {
    "h": 258.8,
    "s": 70.755,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54673,
    "c": 0.21508,
    "h": 292.2
  },
  "luminance": 0.14344
}

Semantic roles & 50–950 ramp

primary
#794AE0
secondary
#CEE1A5
accent
#EE3AB5
background
#FAF7FE
surface
#F5EEFD
border
#CFC9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #794AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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