#784AD4#784AD4

#784AD4 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.6% C 0.201 H 293.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#784AD4
RGBrgb(120, 74, 212)
HSLhsl(260, 62%, 56%)
HSVhsv(260, 65%, 83%)
CMYKcmyk(43.4%, 65.1%, 0%, 16.9%)
CIE-LABlab(43.72, 49.94, -64.35)
CIE-LCHlch(43.72, 81.46, 307.81°)
OKLaboklab(53.65% 0.0813 -0.1839)
OKLCHoklch(53.65% 0.201 293.8)
XYZxyz(22.0750, 13.6435, 63.7450)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784AD4 #A6D44A
analogous
#4A61D4 #784AD4 #BD4AD4
triadic
#784AD4 #D4784A #4AD478
tetradic
#784AD4 #D44A61 #A6D44A #4AD4BD
square
#784AD4 #D44A61 #A6D44A #4AD4BD
split-complementary
#784AD4 #D4BD4A #61D44A
monochromatic
#411F84 #592BB6 #784AD4 #9D7BE0 #C2ADEB

Accessibility & contrast

On white

5.63
#784AD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#784AD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784AD4
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784AD4#FFFFFF#000000##FFFFFF
##784AD41.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#0065D1
Tritanopia (blue-blind)
#5E6B89
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #784ad4;
/* rgb */ color: rgb(120, 74, 212);
/* oklch */ color: oklch(53.6% 0.201 293.8);
Tailwind
colors: {
  custom: {
    50: '#a67fe2',
    500: '#784ad4',
    950: '#000000',
  },
}
SCSS
$custom: #784ad4;
$custom-light: #a67fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#784ad4",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 212
  },
  "hsl": {
    "h": 260,
    "s": 61.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53645,
    "c": 0.20107,
    "h": 293.8
  },
  "luminance": 0.13644
}

Semantic roles & 50–950 ramp

primary
#784AD4
secondary
#C6D9A0
accent
#E543AF
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A15
muted
#7F7C84

Preview Lab

Preview with #784AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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