#CC66FC#CC66FC

#CC66FC is a light, highly saturated purple. Relative luminance 0.294; OKLCH L 69.2% C 0.225 H 313.4°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#CC66FC
RGBrgb(204, 102, 252)
HSLhsl(281, 96%, 69%)
HSVhsv(281, 60%, 99%)
CMYKcmyk(19%, 59.5%, 0%, 1.2%)
CIE-LABlab(61.11, 63.65, -58.34)
CIE-LCHlch(61.11, 86.34, 317.49°)
OKLaboklab(69.2% 0.155 -0.1637)
OKLCHoklch(69.2% 0.225 313.4)
XYZxyz(47.2209, 29.3697, 95.2580)
Luminance0.2937 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC66FC #96FC66
analogous
#8166FC #CC66FC #FC66E1
triadic
#CC66FC #FCCC66 #66FCCC
tetradic
#CC66FC #FC8166 #96FC66 #66E1FC
square
#CC66FC #FC8166 #96FC66 #66E1FC
split-complementary
#CC66FC #E1FC66 #66FC81
monochromatic
#9C04E3 #B82AFB #CC66FC #E0A2FD #F4DEFE

Accessibility & contrast

On white

3.06
#CC66FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#CC66FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC66FC
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC66FC#FFFFFF#000000##000000
##CC66FC1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#328EFF
Deuteranopia (green-blind)
#5F96F8
Tritanopia (blue-blind)
#C781A8
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cc66fc;
/* rgb */ color: rgb(204, 102, 252);
/* oklch */ color: oklch(69.2% 0.225 313.4);
Tailwind
colors: {
  custom: {
    50: '#df97fe',
    500: '#cc66fc',
    950: '#000000',
  },
}
SCSS
$custom: #cc66fc;
$custom-light: #df97fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc66fc",
  "rgb": {
    "r": 204,
    "g": 102,
    "b": 252
  },
  "hsl": {
    "h": 280.8,
    "s": 96.154,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69198,
    "c": 0.22545,
    "h": 313.4
  },
  "luminance": 0.29368
}

Semantic roles & 50–950 ramp

primary
#CC66FC
secondary
#D7F5C9
accent
#E60049
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CC66FC

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

Preview Lab → · Contrast checker → · Palette generator →

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