#784DD1#784DD1

#784DD1 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.8% C 0.194 H 293.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#784DD1
RGBrgb(120, 77, 209)
HSLhsl(260, 59%, 56%)
HSVhsv(260, 63%, 82%)
CMYKcmyk(42.6%, 63.2%, 0%, 18%)
CIE-LABlab(44.09, 47.52, -62.02)
CIE-LCHlch(44.09, 78.13, 307.46°)
OKLaboklab(53.85% 0.0784 -0.177)
OKLCHoklch(53.85% 0.194 293.9)
XYZxyz(21.9051, 13.9037, 61.8388)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784DD1 #A6D14D
analogous
#4D64D1 #784DD1 #BA4DD1
triadic
#784DD1 #D1784D #4DD178
tetradic
#784DD1 #D14D64 #A6D14D #4DD1BA
square
#784DD1 #D14D64 #A6D14D #4DD1BA
split-complementary
#784DD1 #D1BA4D #64D14D
monochromatic
#412282 #592EB3 #784DD1 #9D7EDE #C2AEEA

Accessibility & contrast

On white

5.55
#784DD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#784DD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784DD1
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784DD1#FFFFFF#000000##FFFFFF
##784DD11.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD5
Deuteranopia (green-blind)
#0066CE
Tritanopia (blue-blind)
#606B88
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #784dd1;
/* rgb */ color: rgb(120, 77, 209);
/* oklch */ color: oklch(53.8% 0.194 293.9);
Tailwind
colors: {
  custom: {
    50: '#a581e0',
    500: '#784dd1',
    950: '#000000',
  },
}
SCSS
$custom: #784dd1;
$custom-light: #a581e0;
$custom-dark: #000000;
JSON
{
  "hex": "#784dd1",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 209
  },
  "hsl": {
    "h": 259.545,
    "s": 58.929,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53849,
    "c": 0.19362,
    "h": 293.9
  },
  "luminance": 0.13904
}

Semantic roles & 50–950 ramp

primary
#784DD1
secondary
#C6D8A2
accent
#E246AF
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784DD1

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

Preview Lab → · Contrast checker → · Palette generator →

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