#CC66DF#CC66DF

#CC66DF is a light, vivid purple. Relative luminance 0.277; OKLCH L 67.6% C 0.197 H 321.1°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#CC66DF
RGBrgb(204, 102, 223)
HSLhsl(291, 65%, 64%)
HSVhsv(291, 54%, 87%)
CMYKcmyk(8.5%, 54.3%, 0%, 12.5%)
CIE-LABlab(59.59, 57.94, -44.62)
CIE-LCHlch(59.59, 73.13, 322.40°)
OKLaboklab(67.6% 0.1536 -0.1238)
OKLCHoklch(67.6% 0.197 321.1)
XYZxyz(42.9710, 27.6697, 72.8750)
Luminance0.2767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC66DF #79DF66
analogous
#8F66DF #CC66DF #DF66B5
triadic
#CC66DF #DFCC66 #66DFCC
tetradic
#CC66DF #DF8F66 #79DF66 #66B5DF
square
#CC66DF #DF8F66 #79DF66 #66B5DF
split-complementary
#CC66DF #B5DF66 #66DF8F
monochromatic
#9323A8 #BB33D4 #CC66DF #DD99EA #EECBF4

Accessibility & contrast

On white

3.21
#CC66DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#CC66DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC66DF
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC66DF#FFFFFF#000000##000000
##CC66DF1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5088E3
Deuteranopia (green-blind)
#7293DC
Tritanopia (blue-blind)
#CE7799
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cc66df;
/* rgb */ color: rgb(204, 102, 223);
/* oklch */ color: oklch(67.6% 0.197 321.1);
Tailwind
colors: {
  custom: {
    50: '#de96e9',
    500: '#cc66df',
    950: '#000000',
  },
}
SCSS
$custom: #cc66df;
$custom-light: #de96e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc66df",
  "rgb": {
    "r": 204,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 290.579,
    "s": 65.405,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67599,
    "c": 0.19726,
    "h": 321.1
  },
  "luminance": 0.27668
}

Semantic roles & 50–950 ramp

primary
#CC66DF
secondary
#C2E6BB
accent
#CD1835
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CC66DF

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

Preview Lab → · Contrast checker → · Palette generator →

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