#794AC8#794AC8

#794AC8 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.9% C 0.187 H 296.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#794AC8
RGBrgb(121, 74, 200)
HSLhsl(262, 53%, 54%)
HSVhsv(262, 63%, 78%)
CMYKcmyk(39.5%, 63%, 0%, 21.6%)
CIE-LABlab(42.96, 46.95, -58.65)
CIE-LCHlch(42.96, 75.13, 308.68°)
OKLaboklab(52.85% 0.0838 -0.1671)
OKLCHoklch(52.85% 0.187 296.6)
XYZxyz(20.7566, 13.1323, 56.0736)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794AC8 #99C84A
analogous
#4A5AC8 #794AC8 #B84AC8
triadic
#794AC8 #C8794A #4AC879
tetradic
#794AC8 #C84A5A #99C84A #4AC8B8
square
#794AC8 #C84A5A #99C84A #4AC8B8
split-complementary
#794AC8 #C8B84A #5AC84A
monochromatic
#422374 #5C32A3 #794AC8 #9C79D6 #BEA8E5

Accessibility & contrast

On white

5.79
#794AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#794AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794AC8
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794AC8#FFFFFF#000000##FFFFFF
##794AC81.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#0064C5
Tritanopia (blue-blind)
#666682
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #794ac8;
/* rgb */ color: rgb(121, 74, 200);
/* oklch */ color: oklch(52.9% 0.187 296.6);
Tailwind
colors: {
  custom: {
    50: '#a57fd9',
    500: '#794ac8',
    950: '#000000',
  },
}
SCSS
$custom: #794ac8;
$custom-light: #a57fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#794ac8",
  "rgb": {
    "r": 121,
    "g": 74,
    "b": 200
  },
  "hsl": {
    "h": 262.381,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52851,
    "c": 0.18695,
    "h": 296.6
  },
  "luminance": 0.13133
}

Semantic roles & 50–950 ramp

primary
#794AC8
secondary
#BED29C
accent
#DD4BA6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #794AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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