#C784D2#C784D2

#C784D2 is a light, vivid purple. Relative luminance 0.333; OKLCH L 70.9% C 0.132 H 321.7°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#C784D2
RGBrgb(199, 132, 210)
HSLhsl(292, 46%, 67%)
HSVhsv(292, 37%, 82%)
CMYKcmyk(5.2%, 37.1%, 0%, 17.6%)
CIE-LABlab(64.40, 38.57, -29.86)
CIE-LCHlch(64.40, 48.78, 322.25°)
OKLaboklab(70.86% 0.1036 -0.0817)
OKLCHoklch(70.86% 0.132 321.7)
XYZxyz(43.4360, 33.2992, 65.0996)
Luminance0.3330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C784D2 #8FD284
analogous
#A084D2 #C784D2 #D284B6
triadic
#C784D2 #D2C784 #84D2C7
tetradic
#C784D2 #D2A084 #8FD284 #84B6D2
square
#C784D2 #D2A084 #8FD284 #84B6D2
split-complementary
#C784D2 #B6D284 #84D2A0
monochromatic
#923BA1 #B357C2 #C784D2 #DBB1E2 #F0DEF3

Accessibility & contrast

On white

2.74
#C784D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#C784D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C784D2
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C784D2#FFFFFF#000000##000000
##C784D21.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B97D5
Deuteranopia (green-blind)
#8C9FD0
Tritanopia (blue-blind)
#C98DA1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c784d2;
/* rgb */ color: rgb(199, 132, 210);
/* oklch */ color: oklch(70.9% 0.132 321.7);
Tailwind
colors: {
  custom: {
    50: '#d9a9e0',
    500: '#c784d2',
    950: '#000000',
  },
}
SCSS
$custom: #c784d2;
$custom-light: #d9a9e0;
$custom-dark: #000000;
JSON
{
  "hex": "#c784d2",
  "rgb": {
    "r": 199,
    "g": 132,
    "b": 210
  },
  "hsl": {
    "h": 291.538,
    "s": 46.429,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70864,
    "c": 0.13196,
    "h": 321.7
  },
  "luminance": 0.33298
}

Semantic roles & 50–950 ramp

primary
#C784D2
secondary
#D0E5CD
accent
#BA2C40
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #C784D2

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

Preview Lab → · Contrast checker → · Palette generator →

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