#794ACA#794ACA

#794ACA is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.0% C 0.189 H 296.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#794ACA
RGBrgb(121, 74, 202)
HSLhsl(262, 55%, 54%)
HSVhsv(262, 63%, 79%)
CMYKcmyk(40.1%, 63.4%, 0%, 20.8%)
CIE-LABlab(43.10, 47.48, -59.58)
CIE-LCHlch(43.10, 76.19, 308.55°)
OKLaboklab(53% 0.0837 -0.1698)
OKLCHoklch(53% 0.189 296.2)
XYZxyz(20.9918, 13.2264, 57.3126)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794ACA #9BCA4A
analogous
#4A5BCA #794ACA #B94ACA
triadic
#794ACA #CA794A #4ACA79
tetradic
#794ACA #CA4A5B #9BCA4A #4ACAB9
square
#794ACA #CA4A5B #9BCA4A #4ACAB9
split-complementary
#794ACA #CAB94A #5BCA4A
monochromatic
#422377 #5C31A6 #794ACA #9C79D8 #BFA9E6

Accessibility & contrast

On white

5.76
#794ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#794ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794ACA
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794ACA#FFFFFF#000000##FFFFFF
##794ACA1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#656783
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #794aca;
/* rgb */ color: rgb(121, 74, 202);
/* oklch */ color: oklch(53.0% 0.189 296.2);
Tailwind
colors: {
  custom: {
    50: '#a57fdb',
    500: '#794aca',
    950: '#000000',
  },
}
SCSS
$custom: #794aca;
$custom-light: #a57fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#794aca",
  "rgb": {
    "r": 121,
    "g": 74,
    "b": 202
  },
  "hsl": {
    "h": 262.031,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52998,
    "c": 0.18933,
    "h": 296.2
  },
  "luminance": 0.13227
}

Semantic roles & 50–950 ramp

primary
#794ACA
secondary
#BFD39D
accent
#DE4AA8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #794ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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