#794AED#794AED

#794AED is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.7% C 0.230 H 290.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#794AED
RGBrgb(121, 74, 237)
HSLhsl(257, 82%, 61%)
HSVhsv(257, 69%, 93%)
CMYKcmyk(48.9%, 68.8%, 0%, 7.1%)
CIE-LABlab(45.74, 56.86, -75.27)
CIE-LCHlch(45.74, 94.33, 307.07°)
OKLaboklab(55.72% 0.079 -0.2159)
OKLCHoklch(55.72% 0.23 290.1)
XYZxyz(25.6156, 15.0759, 81.6646)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794AED #BEED4A
analogous
#4A6CED #794AED #CB4AED
triadic
#794AED #ED794A #4AED79
tetradic
#794AED #ED4A6C #BEED4A #4AEDCB
square
#794AED #ED4A6C #BEED4A #4AEDCB
split-complementary
#794AED #EDCB4A #6CED4A
monochromatic
#3E11AC #5217E3 #794AED #A282F3 #CBB9F8

Accessibility & contrast

On white

5.23
#794AED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#794AED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794AED
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794AED#FFFFFF#000000##FFFFFF
##794AED1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF2
Deuteranopia (green-blind)
#0068EA
Tritanopia (blue-blind)
#527496
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #794aed;
/* rgb */ color: rgb(121, 74, 237);
/* oklch */ color: oklch(55.7% 0.230 290.1);
Tailwind
colors: {
  custom: {
    50: '#a980f4',
    500: '#794aed',
    950: '#000000',
  },
}
SCSS
$custom: #794aed;
$custom-light: #a980f4;
$custom-dark: #000000;
JSON
{
  "hex": "#794aed",
  "rgb": {
    "r": 121,
    "g": 74,
    "b": 237
  },
  "hsl": {
    "h": 257.301,
    "s": 81.91,
    "l": 60.98
  },
  "oklch": {
    "l": 0.55716,
    "c": 0.22995,
    "h": 290.1
  },
  "luminance": 0.15077
}

Semantic roles & 50–950 ramp

primary
#794AED
secondary
#D6E8AB
accent
#DE07A0
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110A17
muted
#807C85

Preview Lab

Preview with #794AED

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

Preview Lab → · Contrast checker → · Palette generator →

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