#784DD2#784DD2

#784DD2 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.9% C 0.195 H 293.7°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#784DD2
RGBrgb(120, 77, 210)
HSLhsl(259, 60%, 56%)
HSVhsv(259, 63%, 82%)
CMYKcmyk(42.9%, 63.3%, 0%, 17.6%)
CIE-LABlab(44.17, 47.80, -62.47)
CIE-LCHlch(44.17, 78.66, 307.42°)
OKLaboklab(53.92% 0.0783 -0.1784)
OKLCHoklch(53.92% 0.195 293.7)
XYZxyz(22.0293, 13.9534, 62.4929)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DD2 #A7D24D
analogous
#4D65D2 #784DD2 #BA4DD2
triadic
#784DD2 #D2784D #4DD278
tetradic
#784DD2 #D24D65 #A7D24D #4DD2BA
square
#784DD2 #D24D65 #A7D24D #4DD2BA
split-complementary
#784DD2 #D2BA4D #65D24D
monochromatic
#412183 #592EB4 #784DD2 #9D7EDE #C2AFEB

Accessibility & contrast

On white

5.54
#784DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#784DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DD2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DD2#FFFFFF#000000##FFFFFF
##784DD21.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#5F6C88
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #784dd2;
/* rgb */ color: rgb(120, 77, 210);
/* oklch */ color: oklch(53.9% 0.195 293.7);
Tailwind
colors: {
  custom: {
    50: '#a581e1',
    500: '#784dd2',
    950: '#000000',
  },
}
SCSS
$custom: #784dd2;
$custom-light: #a581e1;
$custom-dark: #000000;
JSON
{
  "hex": "#784dd2",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 210
  },
  "hsl": {
    "h": 259.398,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53923,
    "c": 0.19482,
    "h": 293.7
  },
  "luminance": 0.13954
}

Semantic roles & 50–950 ramp

primary
#784DD2
secondary
#C7D9A2
accent
#E345B0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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