#C784DF#C784DF

#C784DF is a light, vivid purple. Relative luminance 0.340; OKLCH L 71.4% C 0.146 H 316.8°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#C784DF
RGBrgb(199, 132, 223)
HSLhsl(284, 59%, 70%)
HSVhsv(284, 41%, 87%)
CMYKcmyk(10.8%, 40.8%, 0%, 12.5%)
CIE-LABlab(64.94, 41.16, -36.27)
CIE-LCHlch(64.94, 54.86, 318.62°)
OKLaboklab(71.45% 0.1064 -0.1)
OKLCHoklch(71.45% 0.146 316.8)
XYZxyz(45.1218, 33.9736, 73.9784)
Luminance0.3397 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C784DF #9CDF84
analogous
#9A84DF #C784DF #DF84CA
triadic
#C784DF #DFC784 #84DFC7
tetradic
#C784DF #DF9A84 #9CDF84 #84CADF
square
#C784DF #DF9A84 #9CDF84 #84CADF
split-complementary
#C784DF #CADF84 #84DF9A
monochromatic
#9530B9 #B153D2 #C784DF #DDB5EC #F3E5F8

Accessibility & contrast

On white

2.69
#C784DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#C784DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C784DF
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C784DF#FFFFFF#000000##000000
##C784DF1.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7599E2
Deuteranopia (green-blind)
#86A0DC
Tritanopia (blue-blind)
#C690A7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c784df;
/* rgb */ color: rgb(199, 132, 223);
/* oklch */ color: oklch(71.4% 0.146 316.8);
Tailwind
colors: {
  custom: {
    50: '#d9a9e9',
    500: '#c784df',
    950: '#000000',
  },
}
SCSS
$custom: #c784df;
$custom-light: #d9a9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c784df",
  "rgb": {
    "r": 199,
    "g": 132,
    "b": 223
  },
  "hsl": {
    "h": 284.176,
    "s": 58.71,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71447,
    "c": 0.14602,
    "h": 316.8
  },
  "luminance": 0.33972
}

Semantic roles & 50–950 ramp

primary
#C784DF
secondary
#D9ECD2
accent
#C61F4B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #C784DF

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

Preview Lab → · Contrast checker → · Palette generator →

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