#784ACA#784ACA

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

Color values

HEX#784ACA
RGBrgb(120, 74, 202)
HSLhsl(262, 55%, 54%)
HSVhsv(262, 63%, 79%)
CMYKcmyk(40.6%, 63.4%, 0%, 20.8%)
CIE-LABlab(43.00, 47.27, -59.76)
CIE-LCHlch(43.00, 76.20, 308.34°)
OKLaboklab(52.9% 0.0823 -0.1704)
OKLCHoklch(52.9% 0.189 295.8)
XYZxyz(20.8524, 13.1545, 57.3061)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784ACA #9CCA4A
analogous
#4A5CCA #784ACA #B84ACA
triadic
#784ACA #CA784A #4ACA78
tetradic
#784ACA #CA4A5C #9CCA4A #4ACAB8
square
#784ACA #CA4A5C #9CCA4A #4ACAB8
split-complementary
#784ACA #CAB84A #5CCA4A
monochromatic
#412377 #5B31A6 #784ACA #9B79D8 #BFA9E6

Accessibility & contrast

On white

5.78
#784ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#784ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784ACA
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784ACA#FFFFFF#000000##FFFFFF
##784ACA1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #784aca;
/* rgb */ color: rgb(120, 74, 202);
/* oklch */ color: oklch(52.9% 0.189 295.8);
Tailwind
colors: {
  custom: {
    50: '#a57fdb',
    500: '#784aca',
    950: '#000000',
  },
}
SCSS
$custom: #784aca;
$custom-light: #a57fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#784aca",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 202
  },
  "hsl": {
    "h": 261.563,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52895,
    "c": 0.18923,
    "h": 295.8
  },
  "luminance": 0.13155
}

Semantic roles & 50–950 ramp

primary
#784ACA
secondary
#C0D39D
accent
#DE4AA9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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