#794AD5#794AD5

#794AD5 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 53.8% C 0.202 H 294.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#794AD5
RGBrgb(121, 74, 213)
HSLhsl(260, 62%, 56%)
HSVhsv(260, 65%, 84%)
CMYKcmyk(43.2%, 65.3%, 0%, 16.5%)
CIE-LABlab(43.90, 50.40, -64.63)
CIE-LCHlch(43.90, 81.96, 307.95°)
OKLaboklab(53.82% 0.0826 -0.1847)
OKLCHoklch(53.82% 0.202 294.1)
XYZxyz(22.3409, 13.7660, 64.4179)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794AD5 #A6D54A
analogous
#4A61D5 #794AD5 #BF4AD5
triadic
#794AD5 #D5794A #4AD579
tetradic
#794AD5 #D54A61 #A6D54A #4AD5BF
square
#794AD5 #D54A61 #A6D54A #4AD5BF
split-complementary
#794AD5 #D5BF4A #61D54A
monochromatic
#421F86 #5A2BB7 #794AD5 #9E7CE1 #C3ADEC

Accessibility & contrast

On white

5.59
#794AD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#794AD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794AD5
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794AD5#FFFFFF#000000##FFFFFF
##794AD51.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #794ad5;
/* rgb */ color: rgb(121, 74, 213);
/* oklch */ color: oklch(53.8% 0.202 294.1);
Tailwind
colors: {
  custom: {
    50: '#a67fe3',
    500: '#794ad5',
    950: '#000000',
  },
}
SCSS
$custom: #794ad5;
$custom-light: #a67fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#794ad5",
  "rgb": {
    "r": 121,
    "g": 74,
    "b": 213
  },
  "hsl": {
    "h": 260.288,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5382,
    "c": 0.2023,
    "h": 294.1
  },
  "luminance": 0.13767
}

Semantic roles & 50–950 ramp

primary
#794AD5
secondary
#C7DAA1
accent
#E542AE
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #794AD5

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

Preview Lab → · Contrast checker → · Palette generator →

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