#794ABE#794ABE

#794ABE is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.1% C 0.175 H 298.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#794ABE
RGBrgb(121, 74, 190)
HSLhsl(264, 47%, 52%)
HSVhsv(264, 61%, 75%)
CMYKcmyk(36.3%, 61.1%, 0%, 25.5%)
CIE-LABlab(42.28, 44.33, -53.94)
CIE-LCHlch(42.28, 69.83, 309.42°)
OKLaboklab(52.14% 0.0844 -0.1533)
OKLCHoklch(52.14% 0.175 298.9)
XYZxyz(19.6259, 12.6800, 50.1187)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794ABE #8FBE4A
analogous
#4A55BE #794ABE #B34ABE
triadic
#794ABE #BE794A #4ABE79
tetradic
#794ABE #BE4A55 #8FBE4A #4ABEB3
square
#794ABE #BE4A55 #8FBE4A #4ABEB3
split-complementary
#794ABE #BEB34A #55BE4A
monochromatic
#402568 #5C3695 #794ABE #9A77CE #BCA4DE

Accessibility & contrast

On white

5.94
#794ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#794ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794ABE
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794ABE#FFFFFF#000000##FFFFFF
##794ABE1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#1C63BB
Tritanopia (blue-blind)
#6A637D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #794abe;
/* rgb */ color: rgb(121, 74, 190);
/* oklch */ color: oklch(52.1% 0.175 298.9);
Tailwind
colors: {
  custom: {
    50: '#a47fd2',
    500: '#794abe',
    950: '#000000',
  },
}
SCSS
$custom: #794abe;
$custom-light: #a47fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#794abe",
  "rgb": {
    "r": 121,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 264.31,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52136,
    "c": 0.17499,
    "h": 298.9
  },
  "luminance": 0.1268
}

Semantic roles & 50–950 ramp

primary
#794ABE
secondary
#B7CB98
accent
#D751A1
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #794ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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