#794EA9#794EA9

#794EA9 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.4% C 0.143 H 303.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#794EA9
RGBrgb(121, 78, 169)
HSLhsl(268, 37%, 48%)
HSVhsv(268, 54%, 66%)
CMYKcmyk(28.4%, 53.8%, 0%, 33.7%)
CIE-LABlab(41.81, 36.71, -42.34)
CIE-LCHlch(41.81, 56.04, 310.93°)
OKLaboklab(51.37% 0.0792 -0.1192)
OKLCHoklch(51.37% 0.143 303.6)
XYZxyz(17.7694, 12.3783, 38.9815)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794EA9 #7EA94E
analogous
#4E50A9 #794EA9 #A64EA9
triadic
#794EA9 #A9794E #4EA979
tetradic
#794EA9 #A94E50 #7EA94E #4EA9A6
square
#794EA9 #A94E50 #7EA94E #4EA9A6
split-complementary
#794EA9 #A9A64E #50A94E
monochromatic
#3D2755 #5B3B7F #794EA9 #9875BF #B79FD3

Accessibility & contrast

On white

6.04
#794EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#794EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794EA9
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794EA9#FFFFFF#000000##FFFFFF
##794EA91.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F62AC
Deuteranopia (green-blind)
#3C63A7
Tritanopia (blue-blind)
#705F74
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #794ea9;
/* rgb */ color: rgb(121, 78, 169);
/* oklch */ color: oklch(51.4% 0.143 303.6);
Tailwind
colors: {
  custom: {
    50: '#a281c3',
    500: '#794ea9',
    950: '#000000',
  },
}
SCSS
$custom: #794ea9;
$custom-light: #a281c3;
$custom-dark: #000000;
JSON
{
  "hex": "#794ea9",
  "rgb": {
    "r": 121,
    "g": 78,
    "b": 169
  },
  "hsl": {
    "h": 268.352,
    "s": 36.842,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51372,
    "c": 0.1431,
    "h": 303.6
  },
  "luminance": 0.12378
}

Semantic roles & 50–950 ramp

primary
#794EA9
secondary
#ABBF93
accent
#CD5B97
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #794EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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