#CC96CC#CC96CC

#CC96CC is a light, moderate purple. Relative luminance 0.390; OKLCH L 74.2% C 0.097 H 326.5°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#CC96CC
RGBrgb(204, 150, 204)
HSLhsl(300, 35%, 69%)
HSVhsv(300, 26%, 80%)
CMYKcmyk(0%, 26.5%, 0%, 20%)
CIE-LABlab(68.76, 29.22, -19.80)
CIE-LCHlch(68.76, 35.30, 325.88°)
OKLaboklab(74.22% 0.0807 -0.0534)
OKLCHoklch(74.22% 0.097 326.5)
XYZxyz(46.7062, 39.0111, 62.1846)
Luminance0.3901 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC96CC #96CC96
analogous
#B196CC #CC96CC #CC96B1
triadic
#CC96CC #CCCC96 #96CCCC
tetradic
#CC96CC #CCB196 #96CC96 #96B1CC
square
#CC96CC #CCB196 #96CC96 #96B1CC
split-complementary
#CC96CC #B1CC96 #96CCB1
monochromatic
#9C4C9C #B86DB8 #CC96CC #E0BFE0 #F4E8F4

Accessibility & contrast

On white

2.39
#CC96CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#CC96CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC96CC
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC96CC#FFFFFF#000000##000000
##CC96CC1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A4CE
Deuteranopia (green-blind)
#9FAACA
Tritanopia (blue-blind)
#CF9BA9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cc96cc;
/* rgb */ color: rgb(204, 150, 204);
/* oklch */ color: oklch(74.2% 0.097 326.5);
Tailwind
colors: {
  custom: {
    50: '#dcb5db',
    500: '#cc96cc',
    950: '#000000',
  },
}
SCSS
$custom: #cc96cc;
$custom-light: #dcb5db;
$custom-dark: #000000;
JSON
{
  "hex": "#cc96cc",
  "rgb": {
    "r": 204,
    "g": 150,
    "b": 204
  },
  "hsl": {
    "h": 300,
    "s": 34.615,
    "l": 69.412
  },
  "oklch": {
    "l": 0.74217,
    "c": 0.09682,
    "h": 326.5
  },
  "luminance": 0.3901
}

Semantic roles & 50–950 ramp

primary
#CC96CC
secondary
#D7E7D7
accent
#AD3838
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CC96CC

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

Preview Lab → · Contrast checker → · Palette generator →

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