#C784DC#C784DC

#C784DC is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.3% C 0.143 H 317.8°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#C784DC
RGBrgb(199, 132, 220)
HSLhsl(286, 56%, 69%)
HSVhsv(286, 40%, 86%)
CMYKcmyk(9.5%, 40%, 0%, 13.7%)
CIE-LABlab(64.81, 40.55, -34.80)
CIE-LCHlch(64.81, 53.44, 319.37°)
OKLaboklab(71.31% 0.1058 -0.0958)
OKLCHoklch(71.31% 0.143 317.8)
XYZxyz(44.7209, 33.8132, 71.8671)
Luminance0.3381 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C784DC #99DC84
analogous
#9B84DC #C784DC #DC84C5
triadic
#C784DC #DCC784 #84DCC7
tetradic
#C784DC #DC9B84 #99DC84 #84C5DC
square
#C784DC #DC9B84 #99DC84 #84C5DC
split-complementary
#C784DC #C5DC84 #84DC9B
monochromatic
#9433B3 #B154CE #C784DC #DDB4EA #F2E3F7

Accessibility & contrast

On white

2.71
#C784DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#C784DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C784DC
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C784DC#FFFFFF#000000##000000
##C784DC1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7799DF
Deuteranopia (green-blind)
#889FD9
Tritanopia (blue-blind)
#C78FA6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c784dc;
/* rgb */ color: rgb(199, 132, 220);
/* oklch */ color: oklch(71.3% 0.143 317.8);
Tailwind
colors: {
  custom: {
    50: '#d9a9e7',
    500: '#c784dc',
    950: '#000000',
  },
}
SCSS
$custom: #c784dc;
$custom-light: #d9a9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c784dc",
  "rgb": {
    "r": 199,
    "g": 132,
    "b": 220
  },
  "hsl": {
    "h": 285.682,
    "s": 55.696,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71309,
    "c": 0.14272,
    "h": 317.8
  },
  "luminance": 0.33812
}

Semantic roles & 50–950 ramp

primary
#C784DC
secondary
#D7EBD1
accent
#C32249
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #C784DC

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

Preview Lab → · Contrast checker → · Palette generator →

#C784DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva