#CC66CD#CC66CD

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

Color values

HEX#CC66CD
RGBrgb(204, 102, 205)
HSLhsl(299, 51%, 60%)
HSVhsv(299, 50%, 80%)
CMYKcmyk(0.5%, 50.2%, 0%, 19.6%)
CIE-LABlab(58.74, 54.62, -35.80)
CIE-LCHlch(58.74, 65.30, 326.76°)
OKLaboklab(66.7% 0.1514 -0.0983)
OKLCHoklch(66.7% 0.181 327)
XYZxyz(40.6719, 26.7501, 60.7668)
Luminance0.2675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC66CD #67CD66
analogous
#9866CD #CC66CD #CD669B
triadic
#CC66CD #CDCC66 #66CDCC
tetradic
#CC66CD #CD9866 #67CD66 #669BCD
square
#CC66CD #CD9866 #67CD66 #669BCD
split-complementary
#CC66CD #9BCD66 #66CD98
monochromatic
#8A2D8B #B83DB9 #CC66CD #DB94DC #EBC2EB

Accessibility & contrast

On white

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

On black

6.35
#CC66CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC66CD
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC66CD#FFFFFF#000000##000000
##CC66CD1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc66cd;
/* rgb */ color: rgb(204, 102, 205);
/* oklch */ color: oklch(66.7% 0.181 327.0);
Tailwind
colors: {
  custom: {
    50: '#de96dc',
    500: '#cc66cd',
    950: '#000000',
  },
}
SCSS
$custom: #cc66cd;
$custom-light: #de96dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc66cd",
  "rgb": {
    "r": 204,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 299.417,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66699,
    "c": 0.18055,
    "h": 327
  },
  "luminance": 0.26748
}

Semantic roles & 50–950 ramp

primary
#CC66CD
secondary
#B4DBB4
accent
#BE2729
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CC66CD

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

Preview Lab → · Contrast checker → · Palette generator →

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