#794ABA#794ABA

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

Color values

HEX#794ABA
RGBrgb(121, 74, 186)
HSLhsl(265, 45%, 51%)
HSVhsv(265, 60%, 73%)
CMYKcmyk(34.9%, 60.2%, 0%, 27.1%)
CIE-LABlab(42.01, 43.30, -52.03)
CIE-LCHlch(42.01, 67.69, 309.76°)
OKLaboklab(51.86% 0.0846 -0.1476)
OKLCHoklch(51.86% 0.17 299.8)
XYZxyz(19.1947, 12.5075, 47.8478)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794ABA #8BBA4A
analogous
#4A53BA #794ABA #B14ABA
triadic
#794ABA #BA794A #4ABA79
tetradic
#794ABA #BA4A53 #8BBA4A #4ABAB1
square
#794ABA #BA4A53 #8BBA4A #4ABAB1
split-complementary
#794ABA #BAB14A #53BA4A
monochromatic
#402664 #5C3790 #794ABA #9A76CB #BBA3DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##794ABA#FFFFFF#000000##FFFFFF
##794ABA1.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)
#0263BE
Deuteranopia (green-blind)
#2462B8
Tritanopia (blue-blind)
#6B627B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #794aba;
/* rgb */ color: rgb(121, 74, 186);
/* oklch */ color: oklch(51.9% 0.170 299.8);
Tailwind
colors: {
  custom: {
    50: '#a47fcf',
    500: '#794aba',
    950: '#000000',
  },
}
SCSS
$custom: #794aba;
$custom-light: #a47fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#794aba",
  "rgb": {
    "r": 121,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 265.179,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51858,
    "c": 0.17016,
    "h": 299.8
  },
  "luminance": 0.12508
}

Semantic roles & 50–950 ramp

primary
#794ABA
secondary
#B4C997
accent
#D5539E
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #794ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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