#784CCA#784CCA

#784CCA is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.2% C 0.187 H 295.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#784CCA
RGBrgb(120, 76, 202)
HSLhsl(261, 54%, 55%)
HSVhsv(261, 62%, 79%)
CMYKcmyk(40.6%, 62.4%, 0%, 20.8%)
CIE-LABlab(43.40, 46.19, -59.11)
CIE-LCHlch(43.40, 75.01, 308.00°)
OKLaboklab(53.19% 0.0801 -0.1685)
OKLCHoklch(53.19% 0.187 295.4)
XYZxyz(20.9880, 13.4258, 57.3513)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CCA #9ECA4C
analogous
#4C5FCA #784CCA #B74CCA
triadic
#784CCA #CA784C #4CCA78
tetradic
#784CCA #CA4C5F #9ECA4C #4CCAB7
square
#784CCA #CA4C5F #9ECA4C #4CCAB7
split-complementary
#784CCA #CAB74C #5FCA4C
monochromatic
#412478 #5B32A7 #784CCA #9C7BD8 #BFAAE6

Accessibility & contrast

On white

5.70
#784CCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#784CCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CCA
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CCA#FFFFFF#000000##FFFFFF
##784CCA1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#636884
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #784cca;
/* rgb */ color: rgb(120, 76, 202);
/* oklch */ color: oklch(53.2% 0.187 295.4);
Tailwind
colors: {
  custom: {
    50: '#a580db',
    500: '#784cca',
    950: '#000000',
  },
}
SCSS
$custom: #784cca;
$custom-light: #a580db;
$custom-dark: #000000;
JSON
{
  "hex": "#784cca",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 202
  },
  "hsl": {
    "h": 260.952,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53187,
    "c": 0.18655,
    "h": 295.4
  },
  "luminance": 0.13426
}

Semantic roles & 50–950 ramp

primary
#784CCA
secondary
#C1D49E
accent
#DE4AAA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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