#794ACC#794ACC

#794ACC is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.1% C 0.192 H 295.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#794ACC
RGBrgb(121, 74, 204)
HSLhsl(262, 56%, 55%)
HSVhsv(262, 64%, 80%)
CMYKcmyk(40.7%, 63.7%, 0%, 20%)
CIE-LABlab(43.24, 48.01, -60.51)
CIE-LCHlch(43.24, 77.24, 308.43°)
OKLaboklab(53.15% 0.0835 -0.1726)
OKLCHoklch(53.15% 0.192 295.8)
XYZxyz(21.2302, 13.3217, 58.5678)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794ACC #9DCC4A
analogous
#4A5CCC #794ACC #BA4ACC
triadic
#794ACC #CC794A #4ACC79
tetradic
#794ACC #CC4A5C #9DCC4A #4ACCBA
square
#794ACC #CC4A5C #9DCC4A #4ACCBA
split-complementary
#794ACC #CCBA4A #5CCC4A
monochromatic
#422279 #5C30A9 #794ACC #9C7AD9 #C0A9E7

Accessibility & contrast

On white

5.73
#794ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#794ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794ACC
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794ACC#FFFFFF#000000##FFFFFF
##794ACC1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#646884
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #794acc;
/* rgb */ color: rgb(121, 74, 204);
/* oklch */ color: oklch(53.1% 0.192 295.8);
Tailwind
colors: {
  custom: {
    50: '#a67fdc',
    500: '#794acc',
    950: '#000000',
  },
}
SCSS
$custom: #794acc;
$custom-light: #a67fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#794acc",
  "rgb": {
    "r": 121,
    "g": 74,
    "b": 204
  },
  "hsl": {
    "h": 261.692,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53145,
    "c": 0.1917,
    "h": 295.8
  },
  "luminance": 0.13322
}

Semantic roles & 50–950 ramp

primary
#794ACC
secondary
#C1D49D
accent
#DF48A9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #794ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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