#794EA3#794EA3

#794EA3 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.0% C 0.136 H 305.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#794EA3
RGBrgb(121, 78, 163)
HSLhsl(270, 35%, 47%)
HSVhsv(270, 52%, 64%)
CMYKcmyk(25.8%, 52.1%, 0%, 36.1%)
CIE-LABlab(41.47, 35.22, -39.32)
CIE-LCHlch(41.47, 52.79, 311.85°)
OKLaboklab(51.01% 0.0787 -0.1104)
OKLCHoklch(51.01% 0.136 305.5)
XYZxyz(17.2190, 12.1582, 36.0829)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794EA3 #78A34E
analogous
#4E4EA3 #794EA3 #A34EA3
triadic
#794EA3 #A3794E #4EA379
tetradic
#794EA3 #A34E4E #78A34E #4EA3A3
square
#794EA3 #A34E4E #78A34E #4EA3A3
split-complementary
#794EA3 #A3A34E #4EA34E
monochromatic
#3C2650 #5A3A7A #794EA3 #9872BC #B69CD0

Accessibility & contrast

On white

6.12
#794EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#794EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794EA3
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794EA3#FFFFFF#000000##FFFFFF
##794EA31.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3460A6
Deuteranopia (green-blind)
#4162A1
Tritanopia (blue-blind)
#725D71
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #794ea3;
/* rgb */ color: rgb(121, 78, 163);
/* oklch */ color: oklch(51.0% 0.136 305.5);
Tailwind
colors: {
  custom: {
    50: '#a281bf',
    500: '#794ea3',
    950: '#000000',
  },
}
SCSS
$custom: #794ea3;
$custom-light: #a281bf;
$custom-dark: #000000;
JSON
{
  "hex": "#794ea3",
  "rgb": {
    "r": 121,
    "g": 78,
    "b": 163
  },
  "hsl": {
    "h": 270.353,
    "s": 35.27,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51005,
    "c": 0.13559,
    "h": 305.5
  },
  "luminance": 0.12158
}

Semantic roles & 50–950 ramp

primary
#794EA3
secondary
#A6BC91
accent
#CB5C93
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #794EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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