#794EA4#794EA4

#794EA4 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.1% C 0.137 H 305.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#794EA4
RGBrgb(121, 78, 164)
HSLhsl(270, 36%, 47%)
HSVhsv(270, 52%, 64%)
CMYKcmyk(26.2%, 52.4%, 0%, 35.7%)
CIE-LABlab(41.52, 35.47, -39.83)
CIE-LCHlch(41.52, 53.33, 311.68°)
OKLaboklab(51.07% 0.0788 -0.1119)
OKLCHoklch(51.07% 0.137 305.2)
XYZxyz(17.3090, 12.1942, 36.5566)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794EA4 #79A44E
analogous
#4E4EA4 #794EA4 #A44EA4
triadic
#794EA4 #A4794E #4EA479
tetradic
#794EA4 #A44E4E #79A44E #4EA4A4
square
#794EA4 #A44E4E #79A44E #4EA4A4
split-complementary
#794EA4 #A4A44E #4EA44E
monochromatic
#3C2751 #5A3A7B #794EA4 #9873BC #B69CD0

Accessibility & contrast

On white

6.11
#794EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#794EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794EA4
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794EA4#FFFFFF#000000##FFFFFF
##794EA41.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3361A7
Deuteranopia (green-blind)
#4062A2
Tritanopia (blue-blind)
#725E71
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #794ea4;
/* rgb */ color: rgb(121, 78, 164);
/* oklch */ color: oklch(51.1% 0.137 305.2);
Tailwind
colors: {
  custom: {
    50: '#a281bf',
    500: '#794ea4',
    950: '#000000',
  },
}
SCSS
$custom: #794ea4;
$custom-light: #a281bf;
$custom-dark: #000000;
JSON
{
  "hex": "#794ea4",
  "rgb": {
    "r": 121,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 270,
    "s": 35.537,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51065,
    "c": 0.13683,
    "h": 305.2
  },
  "luminance": 0.12194
}

Semantic roles & 50–950 ramp

primary
#794EA4
secondary
#A7BD91
accent
#CC5C94
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #794EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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