#794AE1#794AE1

#794AE1 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.8% C 0.216 H 292.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#794AE1
RGBrgb(121, 74, 225)
HSLhsl(259, 72%, 59%)
HSVhsv(259, 67%, 88%)
CMYKcmyk(46.2%, 67.1%, 0%, 11.8%)
CIE-LABlab(44.80, 53.62, -70.01)
CIE-LCHlch(44.80, 88.19, 307.45°)
OKLaboklab(54.75% 0.081 -0.2005)
OKLCHoklch(54.75% 0.216 292)
XYZxyz(23.9208, 14.3979, 72.7383)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794AE1 #B2E14A
analogous
#4A66E1 #794AE1 #C44AE1
triadic
#794AE1 #E1794A #4AE179
tetradic
#794AE1 #E14A66 #B2E14A #4AE1C4
square
#794AE1 #E14A66 #B2E14A #4AE1C4
split-complementary
#794AE1 #E1C44A #66E14A
monochromatic
#401997 #5722CC #794AE1 #A07EEA #C7B3F2

Accessibility & contrast

On white

5.41
#794AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#794AE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794AE1
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794AE1#FFFFFF#000000##FFFFFF
##794AE11.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE6
Deuteranopia (green-blind)
#0067DE
Tritanopia (blue-blind)
#596F90
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #794ae1;
/* rgb */ color: rgb(121, 74, 225);
/* oklch */ color: oklch(54.8% 0.216 292.0);
Tailwind
colors: {
  custom: {
    50: '#a880eb',
    500: '#794ae1',
    950: '#000000',
  },
}
SCSS
$custom: #794ae1;
$custom-light: #a880eb;
$custom-dark: #000000;
JSON
{
  "hex": "#794ae1",
  "rgb": {
    "r": 121,
    "g": 74,
    "b": 225
  },
  "hsl": {
    "h": 258.675,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54752,
    "c": 0.21623,
    "h": 292
  },
  "luminance": 0.14399
}

Semantic roles & 50–950 ramp

primary
#794AE1
secondary
#CFE1A6
accent
#EE39B6
background
#FAF7FE
surface
#F5EEFD
border
#CFC9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #794AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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