#794EAC#794EAC

#794EAC is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.6% C 0.147 H 302.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#794EAC
RGBrgb(121, 78, 172)
HSLhsl(267, 38%, 49%)
HSVhsv(267, 55%, 67%)
CMYKcmyk(29.7%, 54.7%, 0%, 32.5%)
CIE-LABlab(41.99, 37.47, -43.83)
CIE-LCHlch(41.99, 57.67, 310.53°)
OKLaboklab(51.56% 0.0793 -0.1236)
OKLCHoklch(51.56% 0.147 302.7)
XYZxyz(18.0543, 12.4923, 40.4818)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794EAC #81AC4E
analogous
#4E52AC #794EAC #A84EAC
triadic
#794EAC #AC794E #4EAC79
tetradic
#794EAC #AC4E52 #81AC4E #4EACA8
square
#794EAC #AC4E52 #81AC4E #4EACA8
split-complementary
#794EAC #ACA84E #52AC4E
monochromatic
#3E2858 #5B3B82 #794EAC #9876C1 #B8A0D4

Accessibility & contrast

On white

6.00
#794EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#794EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794EAC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794EAC#FFFFFF#000000##FFFFFF
##794EAC1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C62AF
Deuteranopia (green-blind)
#3A63AA
Tritanopia (blue-blind)
#6F6075
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #794eac;
/* rgb */ color: rgb(121, 78, 172);
/* oklch */ color: oklch(51.6% 0.147 302.7);
Tailwind
colors: {
  custom: {
    50: '#a381c5',
    500: '#794eac',
    950: '#000000',
  },
}
SCSS
$custom: #794eac;
$custom-light: #a381c5;
$custom-dark: #000000;
JSON
{
  "hex": "#794eac",
  "rgb": {
    "r": 121,
    "g": 78,
    "b": 172
  },
  "hsl": {
    "h": 267.447,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5156,
    "c": 0.14686,
    "h": 302.7
  },
  "luminance": 0.12492
}

Semantic roles & 50–950 ramp

primary
#794EAC
secondary
#ADC195
accent
#CE5A99
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #794EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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