#794AD4#794AD4

#794AD4 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.7% C 0.201 H 294.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#794AD4
RGBrgb(121, 74, 212)
HSLhsl(260, 62%, 56%)
HSVhsv(260, 65%, 83%)
CMYKcmyk(42.9%, 65.1%, 0%, 16.9%)
CIE-LABlab(43.82, 50.14, -64.18)
CIE-LCHlch(43.82, 81.44, 308.00°)
OKLaboklab(53.74% 0.0827 -0.1834)
OKLCHoklch(53.74% 0.201 294.3)
XYZxyz(22.2144, 13.7154, 63.7515)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794AD4 #A5D44A
analogous
#4A60D4 #794AD4 #BE4AD4
triadic
#794AD4 #D4794A #4AD479
tetradic
#794AD4 #D44A60 #A5D44A #4AD4BE
square
#794AD4 #D44A60 #A5D44A #4AD4BE
split-complementary
#794AD4 #D4BE4A #60D44A
monochromatic
#421F84 #5A2BB6 #794AD4 #9E7BE0 #C2ADEB

Accessibility & contrast

On white

5.61
#794AD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#794AD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794AD4
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794AD4#FFFFFF#000000##FFFFFF
##794AD41.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#0065D1
Tritanopia (blue-blind)
#606B89
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #794ad4;
/* rgb */ color: rgb(121, 74, 212);
/* oklch */ color: oklch(53.7% 0.201 294.3);
Tailwind
colors: {
  custom: {
    50: '#a67fe2',
    500: '#794ad4',
    950: '#000000',
  },
}
SCSS
$custom: #794ad4;
$custom-light: #a67fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#794ad4",
  "rgb": {
    "r": 121,
    "g": 74,
    "b": 212
  },
  "hsl": {
    "h": 260.435,
    "s": 61.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53744,
    "c": 0.20112,
    "h": 294.3
  },
  "luminance": 0.13716
}

Semantic roles & 50–950 ramp

primary
#794AD4
secondary
#C6D9A0
accent
#E543AE
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A15
muted
#7F7C84

Preview Lab

Preview with #794AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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