#CC66CF#CC66CF

#CC66CF is a light, vivid purple. Relative luminance 0.268; OKLCH L 66.8% C 0.182 H 326.3°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#CC66CF
RGBrgb(204, 102, 207)
HSLhsl(298, 52%, 61%)
HSVhsv(298, 51%, 81%)
CMYKcmyk(1.4%, 50.7%, 0%, 18.8%)
CIE-LABlab(58.83, 54.97, -36.79)
CIE-LCHlch(58.83, 66.15, 326.21°)
OKLaboklab(66.8% 0.1517 -0.1012)
OKLCHoklch(66.8% 0.182 326.3)
XYZxyz(40.9149, 26.8473, 62.0463)
Luminance0.2685 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC66CF #69CF66
analogous
#9766CF #CC66CF #CF669D
triadic
#CC66CF #CFCC66 #66CFCC
tetradic
#CC66CF #CF9766 #69CF66 #669DCF
square
#CC66CF #CF9766 #69CF66 #669DCF
split-complementary
#CC66CF #9DCF66 #66CF97
monochromatic
#8B2D8E #B93BBD #CC66CF #DC95DE #EBC3EC

Accessibility & contrast

On white

3.30
#CC66CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#CC66CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC66CF
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC66CF#FFFFFF#000000##000000
##CC66CF1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B85D2
Deuteranopia (green-blind)
#7A92CC
Tritanopia (blue-blind)
#D17291
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cc66cf;
/* rgb */ color: rgb(204, 102, 207);
/* oklch */ color: oklch(66.8% 0.182 326.3);
Tailwind
colors: {
  custom: {
    50: '#de96de',
    500: '#cc66cf',
    950: '#000000',
  },
}
SCSS
$custom: #cc66cf;
$custom-light: #de96de;
$custom-dark: #000000;
JSON
{
  "hex": "#cc66cf",
  "rgb": {
    "r": 204,
    "g": 102,
    "b": 207
  },
  "hsl": {
    "h": 298.286,
    "s": 52.239,
    "l": 60.588
  },
  "oklch": {
    "l": 0.66795,
    "c": 0.18236,
    "h": 326.3
  },
  "luminance": 0.26845
}

Semantic roles & 50–950 ramp

primary
#CC66CF
secondary
#B6DCB4
accent
#C0262A
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CC66CF

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

Preview Lab → · Contrast checker → · Palette generator →

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