#C866CA#C866CA

#C866CA is a light, vivid purple. Relative luminance 0.260; OKLCH L 66.1% C 0.175 H 326.6°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#C866CA
RGBrgb(200, 102, 202)
HSLhsl(299, 49%, 60%)
HSVhsv(299, 50%, 79%)
CMYKcmyk(1%, 49.5%, 0%, 20.8%)
CIE-LABlab(58.08, 52.95, -35.16)
CIE-LCHlch(58.08, 63.57, 326.41°)
OKLaboklab(66.06% 0.1464 -0.0966)
OKLCHoklch(66.06% 0.175 326.6)
XYZxyz(39.2307, 26.0485, 58.8271)
Luminance0.2605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C866CA #68CA66
analogous
#9666CA #C866CA #CA669A
triadic
#C866CA #CAC866 #66CAC8
tetradic
#C866CA #CA9666 #68CA66 #669ACA
square
#C866CA #CA9666 #68CA66 #669ACA
split-complementary
#C866CA #9ACA66 #66CA96
monochromatic
#852F87 #B23EB4 #C866CA #D893DA #E9C1E9

Accessibility & contrast

On white

3.38
#C866CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#C866CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C866CA
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C866CA#FFFFFF#000000##000000
##C866CA1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C84CD
Deuteranopia (green-blind)
#7990C7
Tritanopia (blue-blind)
#CD718F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c866ca;
/* rgb */ color: rgb(200, 102, 202);
/* oklch */ color: oklch(66.1% 0.175 326.6);
Tailwind
colors: {
  custom: {
    50: '#db95da',
    500: '#c866ca',
    950: '#000000',
  },
}
SCSS
$custom: #c866ca;
$custom-light: #db95da;
$custom-dark: #000000;
JSON
{
  "hex": "#c866ca",
  "rgb": {
    "r": 200,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 298.8,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.66058,
    "c": 0.17543,
    "h": 326.6
  },
  "luminance": 0.26046
}

Semantic roles & 50–950 ramp

primary
#C866CA
secondary
#B3D9B2
accent
#D85052
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #C866CA

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

Preview Lab → · Contrast checker → · Palette generator →

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