#CC96DC#CC96DC

#CC96DC is a light, moderate purple. Relative luminance 0.398; OKLCH L 74.9% C 0.114 H 318.3°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#CC96DC
RGBrgb(204, 150, 220)
HSLhsl(286, 50%, 73%)
HSVhsv(286, 32%, 86%)
CMYKcmyk(7.3%, 31.8%, 0%, 13.7%)
CIE-LABlab(69.34, 32.32, -27.76)
CIE-LCHlch(69.34, 42.61, 319.34°)
OKLaboklab(74.85% 0.0852 -0.0758)
OKLCHoklch(74.85% 0.114 318.3)
XYZxyz(48.7247, 39.8185, 72.8153)
Luminance0.3982 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC96DC #A6DC96
analogous
#A996DC #CC96DC #DC96C9
triadic
#CC96DC #DCCC96 #96DCCC
tetradic
#CC96DC #DCA996 #A6DC96 #96C9DC
square
#CC96DC #DCA996 #A6DC96 #96C9DC
split-complementary
#CC96DC #C9DC96 #96DCA9
monochromatic
#9D3EBA #B668CD #CC96DC #E2C4EB #F4E8F7

Accessibility & contrast

On white

2.34
#CC96DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#CC96DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC96DC
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC96DC#FFFFFF#000000##000000
##CC96DC1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA6DF
Deuteranopia (green-blind)
#9AABDA
Tritanopia (blue-blind)
#CC9EAF
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cc96dc;
/* rgb */ color: rgb(204, 150, 220);
/* oklch */ color: oklch(74.9% 0.114 318.3);
Tailwind
colors: {
  custom: {
    50: '#dcb5e7',
    500: '#cc96dc',
    950: '#000000',
  },
}
SCSS
$custom: #cc96dc;
$custom-light: #dcb5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc96dc",
  "rgb": {
    "r": 204,
    "g": 150,
    "b": 220
  },
  "hsl": {
    "h": 286.286,
    "s": 50,
    "l": 72.549
  },
  "oklch": {
    "l": 0.74851,
    "c": 0.11403,
    "h": 318.3
  },
  "luminance": 0.39817
}

Semantic roles & 50–950 ramp

primary
#CC96DC
secondary
#E1EEDD
accent
#BD284A
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CC96DC

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

Preview Lab → · Contrast checker → · Palette generator →

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