#CC66CC#CC66CC

#CC66CC is a light, vivid purple. Relative luminance 0.267; OKLCH L 66.7% C 0.180 H 327.4°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#CC66CC
RGBrgb(204, 102, 204)
HSLhsl(300, 50%, 60%)
HSVhsv(300, 50%, 80%)
CMYKcmyk(0%, 50%, 0%, 20%)
CIE-LABlab(58.70, 54.44, -35.30)
CIE-LCHlch(58.70, 64.88, 327.04°)
OKLaboklab(66.65% 0.1513 -0.0969)
OKLCHoklch(66.65% 0.18 327.4)
XYZxyz(40.5516, 26.7020, 60.1331)
Luminance0.2670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC66CC #66CC66
analogous
#9966CC #CC66CC #CC6699
triadic
#CC66CC #CCCC66 #66CCCC
tetradic
#CC66CC #CC9966 #66CC66 #6699CC
square
#CC66CC #CC9966 #66CC66 #6699CC
split-complementary
#CC66CC #99CC66 #66CC99
monochromatic
#8A2E8A #B83DB8 #CC66CC #DB94DB #EBC2EB

Accessibility & contrast

On white

3.31
#CC66CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#CC66CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC66CC
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC66CC#FFFFFF#000000##000000
##CC66CC1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C85CF
Deuteranopia (green-blind)
#7B92C9
Tritanopia (blue-blind)
#D17190
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cc66cc;
/* rgb */ color: rgb(204, 102, 204);
/* oklch */ color: oklch(66.7% 0.180 327.4);
Tailwind
colors: {
  custom: {
    50: '#de96dc',
    500: '#cc66cc',
    950: '#000000',
  },
}
SCSS
$custom: #cc66cc;
$custom-light: #de96dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc66cc",
  "rgb": {
    "r": 204,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 300,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.66651,
    "c": 0.17966,
    "h": 327.4
  },
  "luminance": 0.267
}

Semantic roles & 50–950 ramp

primary
#CC66CC
secondary
#B3DBB3
accent
#DA4E4E
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CC66CC

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

Preview Lab → · Contrast checker → · Palette generator →

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