#CC66F2#CC66F2

#CC66F2 is a light, highly saturated purple. Relative luminance 0.288; OKLCH L 68.6% C 0.216 H 315.9°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#CC66F2
RGBrgb(204, 102, 242)
HSLhsl(284, 84%, 67%)
HSVhsv(284, 58%, 95%)
CMYKcmyk(15.7%, 57.9%, 0%, 5.1%)
CIE-LABlab(60.56, 61.63, -53.68)
CIE-LCHlch(60.56, 81.73, 318.95°)
OKLaboklab(68.63% 0.1548 -0.1501)
OKLCHoklch(68.63% 0.216 315.9)
XYZxyz(45.6778, 28.7525, 87.1308)
Luminance0.2875 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC66F2 #8CF266
analogous
#8666F2 #CC66F2 #F266D2
triadic
#CC66F2 #F2CC66 #66F2CC
tetradic
#CC66F2 #F28666 #8CF266 #66D2F2
square
#CC66F2 #F28666 #8CF266 #66D2F2
split-complementary
#CC66F2 #D2F266 #66F286
monochromatic
#9A11CC #B92EED #CC66F2 #DF9EF7 #F2D7FC

Accessibility & contrast

On white

3.11
#CC66F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#CC66F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC66F2
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC66F2#FFFFFF#000000##000000
##CC66F21.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8CF6
Deuteranopia (green-blind)
#6695EE
Tritanopia (blue-blind)
#CA7EA3
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cc66f2;
/* rgb */ color: rgb(204, 102, 242);
/* oklch */ color: oklch(68.6% 0.216 315.9);
Tailwind
colors: {
  custom: {
    50: '#df96f7',
    500: '#cc66f2',
    950: '#000000',
  },
}
SCSS
$custom: #cc66f2;
$custom-light: #df96f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc66f2",
  "rgb": {
    "r": 204,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 283.714,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.68627,
    "c": 0.21562,
    "h": 315.9
  },
  "luminance": 0.28751
}

Semantic roles & 50–950 ramp

primary
#CC66F2
secondary
#D0F0C4
accent
#E10540
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #CC66F2

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

Preview Lab → · Contrast checker → · Palette generator →

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