#784CD2#784CD2

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

Color values

HEX#784CD2
RGBrgb(120, 76, 210)
HSLhsl(260, 60%, 56%)
HSVhsv(260, 64%, 82%)
CMYKcmyk(42.9%, 63.8%, 0%, 17.6%)
CIE-LABlab(43.97, 48.34, -62.80)
CIE-LCHlch(43.97, 79.25, 307.58°)
OKLaboklab(53.78% 0.0794 -0.1793)
OKLCHoklch(53.78% 0.196 293.9)
XYZxyz(21.9599, 13.8145, 62.4697)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CD2 #A6D24C
analogous
#4C63D2 #784CD2 #BB4CD2
triadic
#784CD2 #D2784C #4CD278
tetradic
#784CD2 #D24C63 #A6D24C #4CD2BB
square
#784CD2 #D24C63 #A6D24C #4CD2BB
split-complementary
#784CD2 #D2BB4C #63D24C
monochromatic
#412183 #592DB4 #784CD2 #9D7DDE #C2AEEB

Accessibility & contrast

On white

5.58
#784CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#784CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CD2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CD2#FFFFFF#000000##FFFFFF
##784CD21.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#5F6B88
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #784cd2;
/* rgb */ color: rgb(120, 76, 210);
/* oklch */ color: oklch(53.8% 0.196 293.9);
Tailwind
colors: {
  custom: {
    50: '#a580e1',
    500: '#784cd2',
    950: '#000000',
  },
}
SCSS
$custom: #784cd2;
$custom-light: #a580e1;
$custom-dark: #000000;
JSON
{
  "hex": "#784cd2",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 259.701,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53778,
    "c": 0.19613,
    "h": 293.9
  },
  "luminance": 0.13815
}

Semantic roles & 50–950 ramp

primary
#784CD2
secondary
#C6D9A1
accent
#E345AF
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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