#794BAE#794BAE

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

Color values

HEX#794BAE
RGBrgb(121, 75, 174)
HSLhsl(268, 40%, 49%)
HSVhsv(268, 57%, 68%)
CMYKcmyk(30.5%, 56.9%, 0%, 31.8%)
CIE-LABlab(41.46, 39.68, -45.86)
CIE-LCHlch(41.46, 60.64, 310.86°)
OKLaboklab(51.21% 0.0834 -0.1295)
OKLCHoklch(51.21% 0.154 302.8)
XYZxyz(18.0395, 12.1531, 41.4316)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BAE #80AE4B
analogous
#4B4FAE #794BAE #AB4BAE
triadic
#794BAE #AE794B #4BAE79
tetradic
#794BAE #AE4B4F #80AE4B #4BAEAB
square
#794BAE #AE4B4F #80AE4B #4BAEAB
split-complementary
#794BAE #AEAB4B #4FAE4B
monochromatic
#3E2658 #5B3983 #794BAE #9873C3 #B89ED5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##794BAE#FFFFFF#000000##FFFFFF
##794BAE1.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)
#2361B1
Deuteranopia (green-blind)
#3462AC
Tritanopia (blue-blind)
#6F5E75
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #794bae;
/* rgb */ color: rgb(121, 75, 174);
/* oklch */ color: oklch(51.2% 0.154 302.8);
Tailwind
colors: {
  custom: {
    50: '#a37fc7',
    500: '#794bae',
    950: '#000000',
  },
}
SCSS
$custom: #794bae;
$custom-light: #a37fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#794bae",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 174
  },
  "hsl": {
    "h": 267.879,
    "s": 39.759,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51208,
    "c": 0.15405,
    "h": 302.8
  },
  "luminance": 0.12153
}

Semantic roles & 50–950 ramp

primary
#794BAE
secondary
#ACC293
accent
#D05898
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #794BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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