#794DC9#794DC9

#794DC9 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.4% C 0.184 H 295.9°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#794DC9
RGBrgb(121, 77, 201)
HSLhsl(261, 53%, 55%)
HSVhsv(261, 62%, 79%)
CMYKcmyk(39.8%, 61.7%, 0%, 21.2%)
CIE-LABlab(43.64, 45.59, -58.14)
CIE-LCHlch(43.64, 73.88, 308.10°)
OKLaboklab(53.36% 0.0804 -0.1656)
OKLCHoklch(53.36% 0.184 295.9)
XYZxyz(21.0789, 13.5893, 56.7594)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DC9 #9DC94D
analogous
#4D5FC9 #794DC9 #B74DC9
triadic
#794DC9 #C9794D #4DC979
tetradic
#794DC9 #C94D5F #9DC94D #4DC9B7
square
#794DC9 #C94D5F #9DC94D #4DC9B7
split-complementary
#794DC9 #C9B74D #5FC94D
monochromatic
#422477 #5C32A6 #794DC9 #9C7CD7 #C0ABE5

Accessibility & contrast

On white

5.65
#794DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#794DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DC9
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DC9#FFFFFF#000000##FFFFFF
##794DC91.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CD
Deuteranopia (green-blind)
#0365C6
Tritanopia (blue-blind)
#656984
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #794dc9;
/* rgb */ color: rgb(121, 77, 201);
/* oklch */ color: oklch(53.4% 0.184 295.9);
Tailwind
colors: {
  custom: {
    50: '#a581da',
    500: '#794dc9',
    950: '#000000',
  },
}
SCSS
$custom: #794dc9;
$custom-light: #a581da;
$custom-dark: #000000;
JSON
{
  "hex": "#794dc9",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 201
  },
  "hsl": {
    "h": 261.29,
    "s": 53.448,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53364,
    "c": 0.18406,
    "h": 295.9
  },
  "luminance": 0.1359
}

Semantic roles & 50–950 ramp

primary
#794DC9
secondary
#C1D39F
accent
#DD4BA9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #794DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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