#CC66E7#CC66E7

#CC66E7 is a light, highly saturated purple. Relative luminance 0.281; OKLCH L 68.0% C 0.205 H 318.8°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#CC66E7
RGBrgb(204, 102, 231)
HSLhsl(287, 73%, 65%)
HSVhsv(287, 56%, 91%)
CMYKcmyk(11.7%, 55.8%, 0%, 9.4%)
CIE-LABlab(59.99, 59.47, -48.46)
CIE-LCHlch(59.99, 76.72, 320.82°)
OKLaboklab(68.02% 0.1542 -0.1349)
OKLCHoklch(68.02% 0.205 318.8)
XYZxyz(44.0751, 28.1114, 78.6902)
Luminance0.2811 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC66E7 #81E766
analogous
#8C66E7 #CC66E7 #E766C1
triadic
#CC66E7 #E7CC66 #66E7CC
tetradic
#CC66E7 #E78C66 #81E766 #66C1E7
square
#CC66E7 #E78C66 #81E766 #66C1E7
split-complementary
#CC66E7 #C1E766 #66E78C
monochromatic
#961DB6 #BA31DF #CC66E7 #DE9BEF #EFD0F8

Accessibility & contrast

On white

3.17
#CC66E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#CC66E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC66E7
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC66E7#FFFFFF#000000##000000
##CC66E71.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8AEB
Deuteranopia (green-blind)
#6D94E4
Tritanopia (blue-blind)
#CC7A9D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cc66e7;
/* rgb */ color: rgb(204, 102, 231);
/* oklch */ color: oklch(68.0% 0.205 318.8);
Tailwind
colors: {
  custom: {
    50: '#de96ef',
    500: '#cc66e7',
    950: '#000000',
  },
}
SCSS
$custom: #cc66e7;
$custom-light: #de96ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cc66e7",
  "rgb": {
    "r": 204,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 287.442,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.68022,
    "c": 0.20492,
    "h": 318.8
  },
  "luminance": 0.2811
}

Semantic roles & 50–950 ramp

primary
#CC66E7
secondary
#C8EABF
accent
#D5113A
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CC66E7

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

Preview Lab → · Contrast checker → · Palette generator →

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