#C866CC#C866CC

#C866CC is a light, vivid purple. Relative luminance 0.261; OKLCH L 66.2% C 0.177 H 325.9°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#C866CC
RGBrgb(200, 102, 204)
HSLhsl(298, 50%, 60%)
HSVhsv(298, 50%, 80%)
CMYKcmyk(2%, 50%, 0%, 20%)
CIE-LABlab(58.17, 53.32, -36.16)
CIE-LCHlch(58.17, 64.42, 325.86°)
OKLaboklab(66.15% 0.1467 -0.0994)
OKLCHoklch(66.15% 0.177 325.9)
XYZxyz(39.4690, 26.1438, 60.0823)
Luminance0.2614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C866CC #6ACC66
analogous
#9566CC #C866CC #CC669D
triadic
#C866CC #CCC866 #66CCC8
tetradic
#C866CC #CC9566 #6ACC66 #669DCC
square
#C866CC #CC9566 #6ACC66 #669DCC
split-complementary
#C866CC #9DCC66 #66CC95
monochromatic
#862E8A #B33DB8 #C866CC #D894DB #E9C2EB

Accessibility & contrast

On white

3.37
#C866CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#C866CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C866CC
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C866CC#FFFFFF#000000##000000
##C866CC1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B84CF
Deuteranopia (green-blind)
#7890C9
Tritanopia (blue-blind)
#CC7290
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c866cc;
/* rgb */ color: rgb(200, 102, 204);
/* oklch */ color: oklch(66.2% 0.177 325.9);
Tailwind
colors: {
  custom: {
    50: '#db95dc',
    500: '#c866cc',
    950: '#000000',
  },
}
SCSS
$custom: #c866cc;
$custom-light: #db95dc;
$custom-dark: #000000;
JSON
{
  "hex": "#c866cc",
  "rgb": {
    "r": 200,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 297.647,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.66154,
    "c": 0.17727,
    "h": 325.9
  },
  "luminance": 0.26142
}

Semantic roles & 50–950 ramp

primary
#C866CC
secondary
#B5DBB3
accent
#DA4E54
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #C866CC

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

Preview Lab → · Contrast checker → · Palette generator →

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