#CC66FF#CC66FF

#CC66FF is a light, highly saturated purple. Relative luminance 0.296; OKLCH L 69.4% C 0.228 H 312.7°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#CC66FF
RGBrgb(204, 102, 255)
HSLhsl(280, 100%, 70%)
HSVhsv(280, 60%, 100%)
CMYKcmyk(20%, 60%, 0%, 0%)
CIE-LABlab(61.27, 64.26, -59.73)
CIE-LCHlch(61.27, 87.73, 317.10°)
OKLaboklab(69.37% 0.155 -0.1678)
OKLCHoklch(69.37% 0.228 312.7)
XYZxyz(47.7000, 29.5614, 97.7815)
Luminance0.2956 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC66FF #99FF66
analogous
#7F66FF #CC66FF #FF66E5
triadic
#CC66FF #FFCC66 #66FFCC
tetradic
#CC66FF #FF7F66 #99FF66 #66E5FF
square
#CC66FF #FF7F66 #99FF66 #66E5FF
split-complementary
#CC66FF #E5FF66 #66FF80
monochromatic
#9C00EB #B829FF #CC66FF #E0A3FF #F5E0FF

Accessibility & contrast

On white

3.04
#CC66FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#CC66FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC66FF
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC66FF#FFFFFF#000000##000000
##CC66FF1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8FFF
Deuteranopia (green-blind)
#5C96FB
Tritanopia (blue-blind)
#C782A9
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cc66ff;
/* rgb */ color: rgb(204, 102, 255);
/* oklch */ color: oklch(69.4% 0.228 312.7);
Tailwind
colors: {
  custom: {
    50: '#df97ff',
    500: '#cc66ff',
    950: '#000000',
  },
}
SCSS
$custom: #cc66ff;
$custom-light: #df97ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc66ff",
  "rgb": {
    "r": 204,
    "g": 102,
    "b": 255
  },
  "hsl": {
    "h": 280,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.69374,
    "c": 0.22842,
    "h": 312.7
  },
  "luminance": 0.2956
}

Semantic roles & 50–950 ramp

primary
#CC66FF
secondary
#D9F6CB
accent
#E6004C
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CC66FF

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

Preview Lab → · Contrast checker → · Palette generator →

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