#784ACC#784ACC

#784ACC is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.0% C 0.192 H 295.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#784ACC
RGBrgb(120, 74, 204)
HSLhsl(261, 56%, 55%)
HSVhsv(261, 64%, 80%)
CMYKcmyk(41.2%, 63.7%, 0%, 20%)
CIE-LABlab(43.14, 47.80, -60.69)
CIE-LCHlch(43.14, 77.25, 308.23°)
OKLaboklab(53.04% 0.0821 -0.1731)
OKLCHoklch(53.04% 0.192 295.4)
XYZxyz(21.0907, 13.2498, 58.5613)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784ACC #9ECC4A
analogous
#4A5DCC #784ACC #B94ACC
triadic
#784ACC #CC784A #4ACC78
tetradic
#784ACC #CC4A5D #9ECC4A #4ACCB9
square
#784ACC #CC4A5D #9ECC4A #4ACCB9
split-complementary
#784ACC #CCB94A #5DCC4A
monochromatic
#412279 #5B30A9 #784ACC #9C7AD9 #BFA9E7

Accessibility & contrast

On white

5.75
#784ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#784ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784ACC
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784ACC#FFFFFF#000000##FFFFFF
##784ACC1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#626884
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #784acc;
/* rgb */ color: rgb(120, 74, 204);
/* oklch */ color: oklch(53.0% 0.192 295.4);
Tailwind
colors: {
  custom: {
    50: '#a57fdc',
    500: '#784acc',
    950: '#000000',
  },
}
SCSS
$custom: #784acc;
$custom-light: #a57fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#784acc",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 204
  },
  "hsl": {
    "h": 261.231,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53043,
    "c": 0.19161,
    "h": 295.4
  },
  "luminance": 0.1325
}

Semantic roles & 50–950 ramp

primary
#784ACC
secondary
#C1D49D
accent
#DF48AA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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