#784CCD#784CCD

#784CCD is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.4% C 0.190 H 294.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#784CCD
RGBrgb(120, 76, 205)
HSLhsl(260, 56%, 55%)
HSVhsv(260, 63%, 80%)
CMYKcmyk(41.5%, 62.9%, 0%, 19.6%)
CIE-LABlab(43.61, 46.99, -60.50)
CIE-LCHlch(43.61, 76.61, 307.84°)
OKLaboklab(53.41% 0.0798 -0.1726)
OKLCHoklch(53.41% 0.19 294.8)
XYZxyz(21.3467, 13.5692, 59.2402)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784CCD #A1CD4C
analogous
#4C61CD #784CCD #B84CCD
triadic
#784CCD #CD784C #4CCD78
tetradic
#784CCD #CD4C61 #A1CD4C #4CCDB8
square
#784CCD #CD4C61 #A1CD4C #4CCDB8
split-complementary
#784CCD #CDB84C #61CD4C
monochromatic
#41237C #5A30AC #784CCD #9C7CDA #C0ACE8

Accessibility & contrast

On white

5.65
#784CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#784CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784CCD
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784CCD#FFFFFF#000000##FFFFFF
##784CCD1.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#626985
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #784ccd;
/* rgb */ color: rgb(120, 76, 205);
/* oklch */ color: oklch(53.4% 0.190 294.8);
Tailwind
colors: {
  custom: {
    50: '#a580dd',
    500: '#784ccd',
    950: '#000000',
  },
}
SCSS
$custom: #784ccd;
$custom-light: #a580dd;
$custom-dark: #000000;
JSON
{
  "hex": "#784ccd",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 205
  },
  "hsl": {
    "h": 260.465,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53407,
    "c": 0.19015,
    "h": 294.8
  },
  "luminance": 0.1357
}

Semantic roles & 50–950 ramp

primary
#784CCD
secondary
#C3D59F
accent
#E048AC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #784CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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