#784DD3#784DD3

#784DD3 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.0% C 0.196 H 293.5°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#784DD3
RGBrgb(120, 77, 211)
HSLhsl(259, 60%, 56%)
HSVhsv(259, 64%, 83%)
CMYKcmyk(43.1%, 63.5%, 0%, 17.3%)
CIE-LABlab(44.24, 48.07, -62.93)
CIE-LCHlch(44.24, 79.19, 307.37°)
OKLaboklab(54% 0.0782 -0.1797)
OKLCHoklch(54% 0.196 293.5)
XYZxyz(22.1543, 14.0034, 63.1510)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DD3 #A8D34D
analogous
#4D65D3 #784DD3 #BB4DD3
triadic
#784DD3 #D3784D #4DD378
tetradic
#784DD3 #D34D65 #A8D34D #4DD3BB
square
#784DD3 #D34D65 #A8D34D #4DD3BB
split-complementary
#784DD3 #D3BB4D #65D34D
monochromatic
#412185 #592DB6 #784DD3 #9D7EDF #C2AFEB

Accessibility & contrast

On white

5.53
#784DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#784DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DD3
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DD3#FFFFFF#000000##FFFFFF
##784DD31.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#0066D0
Tritanopia (blue-blind)
#5F6C89
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #784dd3;
/* rgb */ color: rgb(120, 77, 211);
/* oklch */ color: oklch(54.0% 0.196 293.5);
Tailwind
colors: {
  custom: {
    50: '#a581e1',
    500: '#784dd3',
    950: '#000000',
  },
}
SCSS
$custom: #784dd3;
$custom-light: #a581e1;
$custom-dark: #000000;
JSON
{
  "hex": "#784dd3",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 211
  },
  "hsl": {
    "h": 259.254,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53998,
    "c": 0.19602,
    "h": 293.5
  },
  "luminance": 0.14004
}

Semantic roles & 50–950 ramp

primary
#784DD3
secondary
#C8D9A2
accent
#E444B0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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