#CC9FCD#CC9FCD

#CC9FCD is a light, moderate purple. Relative luminance 0.420; OKLCH L 75.9% C 0.082 H 325.6°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#CC9FCD
RGBrgb(204, 159, 205)
HSLhsl(299, 32%, 71%)
HSVhsv(299, 22%, 80%)
CMYKcmyk(0.5%, 22.4%, 0%, 19.6%)
CIE-LABlab(70.90, 24.48, -17.11)
CIE-LCHlch(70.90, 29.86, 325.05°)
OKLaboklab(75.87% 0.0674 -0.046)
OKLCHoklch(75.87% 0.082 325.6)
XYZxyz(48.3182, 42.0426, 63.3155)
Luminance0.4204 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC9FCD #A0CD9F
analogous
#B59FCD #CC9FCD #CD9FB7
triadic
#CC9FCD #CDCC9F #9FCDCC
tetradic
#CC9FCD #CDB59F #A0CD9F #9FB7CD
square
#CC9FCD #CDB59F #A0CD9F #9FB7CD
split-complementary
#CC9FCD #B7CD9F #9FCDB5
monochromatic
#9D539F #B777B8 #CC9FCD #E1C7E2 #F4EBF5

Accessibility & contrast

On white

2.23
#CC9FCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#CC9FCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC9FCD
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC9FCD#FFFFFF#000000##000000
##CC9FCD1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CAACF
Deuteranopia (green-blind)
#A6AFCB
Tritanopia (blue-blind)
#CFA3AF
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cc9fcd;
/* rgb */ color: rgb(204, 159, 205);
/* oklch */ color: oklch(75.9% 0.082 325.6);
Tailwind
colors: {
  custom: {
    50: '#dcbbdc',
    500: '#cc9fcd',
    950: '#000000',
  },
}
SCSS
$custom: #cc9fcd;
$custom-light: #dcbbdc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc9fcd",
  "rgb": {
    "r": 204,
    "g": 159,
    "b": 205
  },
  "hsl": {
    "h": 298.696,
    "s": 31.507,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75867,
    "c": 0.08159,
    "h": 325.6
  },
  "luminance": 0.42041
}

Semantic roles & 50–950 ramp

primary
#CC9FCD
secondary
#DEEADE
accent
#AA3B3E
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151215
muted
#838183

Preview Lab

Preview with #CC9FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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