#CC96CD#CC96CD

#CC96CD is a light, moderate purple. Relative luminance 0.391; OKLCH L 74.3% C 0.098 H 325.9°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#CC96CD
RGBrgb(204, 150, 205)
HSLhsl(299, 35%, 70%)
HSVhsv(299, 27%, 80%)
CMYKcmyk(0.5%, 26.8%, 0%, 19.6%)
CIE-LABlab(68.79, 29.41, -20.30)
CIE-LCHlch(68.79, 35.73, 325.38°)
OKLaboklab(74.26% 0.081 -0.0548)
OKLCHoklch(74.26% 0.098 325.9)
XYZxyz(46.8265, 39.0593, 62.8183)
Luminance0.3906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC96CD #97CD96
analogous
#B196CD #CC96CD #CD96B3
triadic
#CC96CD #CDCC96 #96CDCC
tetradic
#CC96CD #CDB196 #97CD96 #96B3CD
square
#CC96CD #CDB196 #97CD96 #96B3CD
split-complementary
#CC96CD #B3CD96 #96CDB1
monochromatic
#9C4B9E #B86DB9 #CC96CD #E0BFE1 #F4E9F4

Accessibility & contrast

On white

2.38
#CC96CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#CC96CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC96CD
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC96CD#FFFFFF#000000##000000
##CC96CD1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc96cd;
/* rgb */ color: rgb(204, 150, 205);
/* oklch */ color: oklch(74.3% 0.098 325.9);
Tailwind
colors: {
  custom: {
    50: '#dcb5dc',
    500: '#cc96cd',
    950: '#000000',
  },
}
SCSS
$custom: #cc96cd;
$custom-light: #dcb5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc96cd",
  "rgb": {
    "r": 204,
    "g": 150,
    "b": 205
  },
  "hsl": {
    "h": 298.909,
    "s": 35.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74255,
    "c": 0.09784,
    "h": 325.9
  },
  "luminance": 0.39058
}

Semantic roles & 50–950 ramp

primary
#CC96CD
secondary
#D8E7D8
accent
#AE3739
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CC96CD

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

Preview Lab → · Contrast checker → · Palette generator →

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