#794CA9#794CA9

#794CA9 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.0% C 0.146 H 304.0°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#794CA9
RGBrgb(121, 76, 169)
HSLhsl(269, 38%, 48%)
HSVhsv(269, 55%, 66%)
CMYKcmyk(28.4%, 55%, 0%, 33.7%)
CIE-LABlab(41.37, 37.85, -43.04)
CIE-LCHlch(41.37, 57.32, 311.33°)
OKLaboklab(51.05% 0.0819 -0.1213)
OKLCHoklch(51.05% 0.146 304)
XYZxyz(17.6295, 12.0985, 38.9349)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CA9 #7CA94C
analogous
#4C4EA9 #794CA9 #A74CA9
triadic
#794CA9 #A9794C #4CA979
tetradic
#794CA9 #A94C4E #7CA94C #4CA9A7
square
#794CA9 #A94C4E #7CA94C #4CA9A7
split-complementary
#794CA9 #A9A74C #4EA94C
monochromatic
#3D2655 #5B397F #794CA9 #9872C0 #B79DD3

Accessibility & contrast

On white

6.14
#794CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#794CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CA9
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CA9#FFFFFF#000000##FFFFFF
##794CA91.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B60AC
Deuteranopia (green-blind)
#3A62A7
Tritanopia (blue-blind)
#715E73
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #794ca9;
/* rgb */ color: rgb(121, 76, 169);
/* oklch */ color: oklch(51.0% 0.146 304.0);
Tailwind
colors: {
  custom: {
    50: '#a280c3',
    500: '#794ca9',
    950: '#000000',
  },
}
SCSS
$custom: #794ca9;
$custom-light: #a280c3;
$custom-dark: #000000;
JSON
{
  "hex": "#794ca9",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 169
  },
  "hsl": {
    "h": 269.032,
    "s": 37.959,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51048,
    "c": 0.14632,
    "h": 304
  },
  "luminance": 0.12098
}

Semantic roles & 50–950 ramp

primary
#794CA9
secondary
#A9BF91
accent
#CE5A96
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #794CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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