#CC96CF#CC96CF

#CC96CF is a light, moderate purple. Relative luminance 0.392; OKLCH L 74.3% C 0.100 H 324.8°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#CC96CF
RGBrgb(204, 150, 207)
HSLhsl(297, 37%, 70%)
HSVhsv(297, 28%, 81%)
CMYKcmyk(1.4%, 27.5%, 0%, 18.8%)
CIE-LABlab(68.86, 29.79, -21.30)
CIE-LCHlch(68.86, 36.62, 324.43°)
OKLaboklab(74.33% 0.0816 -0.0576)
OKLCHoklch(74.33% 0.1 324.8)
XYZxyz(47.0694, 39.1564, 64.0979)
Luminance0.3916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC96CF #99CF96
analogous
#AF96CF #CC96CF #CF96B6
triadic
#CC96CF #CFCC96 #96CFCC
tetradic
#CC96CF #CFAF96 #99CF96 #96B6CF
square
#CC96CF #CFAF96 #99CF96 #96B6CF
split-complementary
#CC96CF #B6CF96 #96CFAF
monochromatic
#9C4AA1 #B86CBC #CC96CF #E0C0E2 #F5EAF5

Accessibility & contrast

On white

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

On black

8.83
#CC96CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC96CF
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC96CF#FFFFFF#000000##000000
##CC96CF1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A4D1
Deuteranopia (green-blind)
#9EAACD
Tritanopia (blue-blind)
#CF9BAA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cc96cf;
/* rgb */ color: rgb(204, 150, 207);
/* oklch */ color: oklch(74.3% 0.100 324.8);
Tailwind
colors: {
  custom: {
    50: '#dcb5dd',
    500: '#cc96cf',
    950: '#000000',
  },
}
SCSS
$custom: #cc96cf;
$custom-light: #dcb5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc96cf",
  "rgb": {
    "r": 204,
    "g": 150,
    "b": 207
  },
  "hsl": {
    "h": 296.842,
    "s": 37.255,
    "l": 70
  },
  "oklch": {
    "l": 0.74332,
    "c": 0.09991,
    "h": 324.8
  },
  "luminance": 0.39155
}

Semantic roles & 50–950 ramp

primary
#CC96CF
secondary
#D9E8D8
accent
#B0353C
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CC96CF

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

Preview Lab → · Contrast checker → · Palette generator →

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