#784CD1#784CD1

#784CD1 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.7% C 0.195 H 294.1°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#784CD1
RGBrgb(120, 76, 209)
HSLhsl(260, 59%, 56%)
HSVhsv(260, 64%, 82%)
CMYKcmyk(42.6%, 63.6%, 0%, 18%)
CIE-LABlab(43.89, 48.07, -62.34)
CIE-LCHlch(43.89, 78.72, 307.63°)
OKLaboklab(53.7% 0.0795 -0.178)
OKLCHoklch(53.7% 0.195 294.1)
XYZxyz(21.8357, 13.7648, 61.8156)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CD1 #A5D14C
analogous
#4C62D1 #784CD1 #BB4CD1
triadic
#784CD1 #D1784C #4CD178
tetradic
#784CD1 #D14C62 #A5D14C #4CD1BB
square
#784CD1 #D14C62 #A5D14C #4CD1BB
split-complementary
#784CD1 #D1BB4C #62D14C
monochromatic
#412181 #5A2EB2 #784CD1 #9D7DDE #C1ADEA

Accessibility & contrast

On white

5.60
#784CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#784CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CD1
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CD1#FFFFFF#000000##FFFFFF
##784CD11.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D5
Deuteranopia (green-blind)
#0065CE
Tritanopia (blue-blind)
#606B88
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #784cd1;
/* rgb */ color: rgb(120, 76, 209);
/* oklch */ color: oklch(53.7% 0.195 294.1);
Tailwind
colors: {
  custom: {
    50: '#a580e0',
    500: '#784cd1',
    950: '#000000',
  },
}
SCSS
$custom: #784cd1;
$custom-light: #a580e0;
$custom-dark: #000000;
JSON
{
  "hex": "#784cd1",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 259.85,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53703,
    "c": 0.19494,
    "h": 294.1
  },
  "luminance": 0.13765
}

Semantic roles & 50–950 ramp

primary
#784CD1
secondary
#C6D8A1
accent
#E246AE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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