#C866DA#C866DA

#C866DA is a light, vivid purple. Relative luminance 0.268; OKLCH L 66.9% C 0.190 H 321.2°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#C866DA
RGBrgb(200, 102, 218)
HSLhsl(291, 61%, 63%)
HSVhsv(291, 53%, 85%)
CMYKcmyk(8.3%, 53.2%, 0%, 14.5%)
CIE-LABlab(58.83, 55.93, -43.04)
CIE-LCHlch(58.83, 70.57, 322.42°)
OKLaboklab(66.85% 0.1485 -0.1193)
OKLCHoklch(66.85% 0.19 321.2)
XYZxyz(41.2242, 26.8459, 69.3264)
Luminance0.2684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C866DA #78DA66
analogous
#8E66DA #C866DA #DA66B2
triadic
#C866DA #DAC866 #66DAC8
tetradic
#C866DA #DA8E66 #78DA66 #66B2DA
square
#C866DA #DA8E66 #78DA66 #66B2DA
split-complementary
#C866DA #B2DA66 #66DA8E
monochromatic
#8C269F #B635CE #C866DA #DA97E6 #EBC9F2

Accessibility & contrast

On white

3.30
#C866DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#C866DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C866DA
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C866DA#FFFFFF#000000##000000
##C866DA1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5286DE
Deuteranopia (green-blind)
#7191D7
Tritanopia (blue-blind)
#CA7697
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c866da;
/* rgb */ color: rgb(200, 102, 218);
/* oklch */ color: oklch(66.9% 0.190 321.2);
Tailwind
colors: {
  custom: {
    50: '#db96e6',
    500: '#c866da',
    950: '#000000',
  },
}
SCSS
$custom: #c866da;
$custom-light: #db96e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c866da",
  "rgb": {
    "r": 200,
    "g": 102,
    "b": 218
  },
  "hsl": {
    "h": 290.69,
    "s": 61.053,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66854,
    "c": 0.19047,
    "h": 321.2
  },
  "luminance": 0.26844
}

Semantic roles & 50–950 ramp

primary
#C866DA
secondary
#BFE3B9
accent
#C91D37
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C866DA

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

Preview Lab → · Contrast checker → · Palette generator →

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