#CC9DCD#CC9DCD

#CC9DCD is a light, moderate purple. Relative luminance 0.414; OKLCH L 75.5% C 0.085 H 325.7°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#CC9DCD
RGBrgb(204, 157, 205)
HSLhsl(299, 32%, 71%)
HSVhsv(299, 23%, 80%)
CMYKcmyk(0.5%, 23.4%, 0%, 19.6%)
CIE-LABlab(70.43, 25.58, -17.82)
CIE-LCHlch(70.43, 31.17, 325.13°)
OKLaboklab(75.51% 0.0704 -0.048)
OKLCHoklch(75.51% 0.085 325.7)
XYZxyz(47.9770, 41.3604, 63.2018)
Luminance0.4136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC9DCD #9ECD9D
analogous
#B49DCD #CC9DCD #CD9DB6
triadic
#CC9DCD #CDCC9D #9DCDCC
tetradic
#CC9DCD #CDB49D #9ECD9D #9DB6CD
square
#CC9DCD #CDB49D #9ECD9D #9DB6CD
split-complementary
#CC9DCD #B6CD9D #9DCDB4
monochromatic
#9D519F #B774B8 #CC9DCD #E1C6E2 #F4EBF5

Accessibility & contrast

On white

2.26
#CC9DCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#CC9DCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC9DCD
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC9DCD#FFFFFF#000000##000000
##CC9DCD1.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AA9CF
Deuteranopia (green-blind)
#A4AECB
Tritanopia (blue-blind)
#CFA1AE
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cc9dcd;
/* rgb */ color: rgb(204, 157, 205);
/* oklch */ color: oklch(75.5% 0.085 325.7);
Tailwind
colors: {
  custom: {
    50: '#dcbadc',
    500: '#cc9dcd',
    950: '#000000',
  },
}
SCSS
$custom: #cc9dcd;
$custom-light: #dcbadc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc9dcd",
  "rgb": {
    "r": 204,
    "g": 157,
    "b": 205
  },
  "hsl": {
    "h": 298.75,
    "s": 32.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.75505,
    "c": 0.0852,
    "h": 325.7
  },
  "luminance": 0.41359
}

Semantic roles & 50–950 ramp

primary
#CC9DCD
secondary
#DDE9DD
accent
#AB3A3D
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CC9DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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