#784DD5#784DD5

#784DD5 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.1% C 0.198 H 293.2°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#784DD5
RGBrgb(120, 77, 213)
HSLhsl(259, 62%, 57%)
HSVhsv(259, 64%, 84%)
CMYKcmyk(43.7%, 63.8%, 0%, 16.5%)
CIE-LABlab(44.38, 48.61, -63.84)
CIE-LCHlch(44.38, 80.24, 307.28°)
OKLaboklab(54.15% 0.0781 -0.1824)
OKLCHoklch(54.15% 0.198 293.2)
XYZxyz(22.4066, 14.1043, 64.4797)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DD5 #AAD54D
analogous
#4D66D5 #784DD5 #BC4DD5
triadic
#784DD5 #D5784D #4DD578
tetradic
#784DD5 #D54D66 #AAD54D #4DD5BC
square
#784DD5 #D54D66 #AAD54D #4DD5BC
split-complementary
#784DD5 #D5BC4D #66D54D
monochromatic
#412088 #582CB9 #784DD5 #9E7FE1 #C3B0EC

Accessibility & contrast

On white

5.50
#784DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#784DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DD5
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DD5#FFFFFF#000000##FFFFFF
##784DD51.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#0066D2
Tritanopia (blue-blind)
#5E6D8A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #784dd5;
/* rgb */ color: rgb(120, 77, 213);
/* oklch */ color: oklch(54.1% 0.198 293.2);
Tailwind
colors: {
  custom: {
    50: '#a681e3',
    500: '#784dd5',
    950: '#000000',
  },
}
SCSS
$custom: #784dd5;
$custom-light: #a681e3;
$custom-dark: #000000;
JSON
{
  "hex": "#784dd5",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 213
  },
  "hsl": {
    "h": 258.971,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54148,
    "c": 0.19841,
    "h": 293.2
  },
  "luminance": 0.14105
}

Semantic roles & 50–950 ramp

primary
#784DD5
secondary
#C9DBA3
accent
#E543B2
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #784DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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