#784AD2#784AD2

#784AD2 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.5% C 0.199 H 294.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#784AD2
RGBrgb(120, 74, 210)
HSLhsl(260, 60%, 56%)
HSVhsv(260, 65%, 82%)
CMYKcmyk(42.9%, 64.8%, 0%, 17.6%)
CIE-LABlab(43.57, 49.41, -63.44)
CIE-LCHlch(43.57, 80.41, 307.91°)
OKLaboklab(53.49% 0.0815 -0.1812)
OKLCHoklch(53.49% 0.199 294.2)
XYZxyz(21.8242, 13.5432, 62.4245)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784AD2 #A4D24A
analogous
#4A60D2 #784AD2 #BC4AD2
triadic
#784AD2 #D2784A #4AD278
tetradic
#784AD2 #D24A60 #A4D24A #4AD2BC
square
#784AD2 #D24A60 #A4D24A #4AD2BC
split-complementary
#784AD2 #D2BC4A #60D24A
monochromatic
#412081 #5A2CB2 #784AD2 #9D7BDE #C1ACEA

Accessibility & contrast

On white

5.66
#784AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#784AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784AD2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784AD2#FFFFFF#000000##FFFFFF
##784AD21.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#0065CF
Tritanopia (blue-blind)
#5F6A87
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #784ad2;
/* rgb */ color: rgb(120, 74, 210);
/* oklch */ color: oklch(53.5% 0.199 294.2);
Tailwind
colors: {
  custom: {
    50: '#a67fe1',
    500: '#784ad2',
    950: '#000000',
  },
}
SCSS
$custom: #784ad2;
$custom-light: #a67fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#784ad2",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 210
  },
  "hsl": {
    "h": 260.294,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53493,
    "c": 0.19871,
    "h": 294.2
  },
  "luminance": 0.13544
}

Semantic roles & 50–950 ramp

primary
#784AD2
secondary
#C5D8A0
accent
#E344AE
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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