#784ACD#784ACD

#784ACD is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.1% C 0.193 H 295.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#784ACD
RGBrgb(120, 74, 205)
HSLhsl(261, 57%, 55%)
HSVhsv(261, 64%, 80%)
CMYKcmyk(41.5%, 63.9%, 0%, 19.6%)
CIE-LABlab(43.21, 48.07, -61.15)
CIE-LCHlch(43.21, 77.78, 308.17°)
OKLaboklab(53.12% 0.082 -0.1745)
OKLCHoklch(53.12% 0.193 295.2)
XYZxyz(21.2110, 13.2979, 59.1950)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784ACD #9FCD4A
analogous
#4A5DCD #784ACD #BA4ACD
triadic
#784ACD #CD784A #4ACD78
tetradic
#784ACD #CD4A5D #9FCD4A #4ACDBA
square
#784ACD #CD4A5D #9FCD4A #4ACDBA
split-complementary
#784ACD #CDBA4A #5DCD4A
monochromatic
#41227B #5B2FAB #784ACD #9C7ADA #C0AAE7

Accessibility & contrast

On white

5.74
#784ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#784ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784ACD
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784ACD#FFFFFF#000000##FFFFFF
##784ACD1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#626885
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #784acd;
/* rgb */ color: rgb(120, 74, 205);
/* oklch */ color: oklch(53.1% 0.193 295.2);
Tailwind
colors: {
  custom: {
    50: '#a57fdd',
    500: '#784acd',
    950: '#000000',
  },
}
SCSS
$custom: #784acd;
$custom-light: #a57fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#784acd",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 205
  },
  "hsl": {
    "h": 261.069,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53117,
    "c": 0.1928,
    "h": 295.2
  },
  "luminance": 0.13298
}

Semantic roles & 50–950 ramp

primary
#784ACD
secondary
#C2D59E
accent
#E048AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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