#CC9CD2#CC9CD2

#CC9CD2 is a light, moderate purple. Relative luminance 0.413; OKLCH L 75.5% C 0.092 H 322.7°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#CC9CD2
RGBrgb(204, 156, 210)
HSLhsl(293, 38%, 72%)
HSVhsv(293, 26%, 82%)
CMYKcmyk(2.9%, 25.7%, 0%, 17.6%)
CIE-LABlab(70.36, 27.08, -20.68)
CIE-LCHlch(70.36, 34.07, 322.63°)
OKLaboklab(75.51% 0.0734 -0.0559)
OKLCHoklch(75.51% 0.092 322.7)
XYZxyz(48.4217, 41.2686, 66.3752)
Luminance0.4127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC9CD2 #A2D29C
analogous
#B19CD2 #CC9CD2 #D29CBD
triadic
#CC9CD2 #D2CC9C #9CD2CC
tetradic
#CC9CD2 #D2B19C #A2D29C #9CBDD2
square
#CC9CD2 #D2B19C #A2D29C #9CBDD2
split-complementary
#CC9CD2 #BDD29C #9CD2B1
monochromatic
#9D4CA7 #B672BF #CC9CD2 #E2C6E5 #F4EAF5

Accessibility & contrast

On white

2.27
#CC9CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#CC9CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC9CD2
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC9CD2#FFFFFF#000000##000000
##CC9CD21.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A9D4
Deuteranopia (green-blind)
#A2AED0
Tritanopia (blue-blind)
#CEA1AF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cc9cd2;
/* rgb */ color: rgb(204, 156, 210);
/* oklch */ color: oklch(75.5% 0.092 322.7);
Tailwind
colors: {
  custom: {
    50: '#dcb9e0',
    500: '#cc9cd2',
    950: '#000000',
  },
}
SCSS
$custom: #cc9cd2;
$custom-light: #dcb9e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc9cd2",
  "rgb": {
    "r": 204,
    "g": 156,
    "b": 210
  },
  "hsl": {
    "h": 293.333,
    "s": 37.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75512,
    "c": 0.09231,
    "h": 322.7
  },
  "luminance": 0.41267
}

Semantic roles & 50–950 ramp

primary
#CC9CD2
secondary
#E0ECDE
accent
#B03543
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CC9CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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