#CC8DC7#CC8DC7

#CC8DC7 is a light, moderate purple. Relative luminance 0.360; OKLCH L 72.5% C 0.108 H 329.4°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#CC8DC7
RGBrgb(204, 141, 199)
HSLhsl(305, 38%, 68%)
HSVhsv(305, 31%, 80%)
CMYKcmyk(0%, 30.9%, 2.5%, 20%)
CIE-LABlab(66.53, 33.20, -20.41)
CIE-LCHlch(66.53, 38.97, 328.42°)
OKLaboklab(72.46% 0.093 -0.0551)
OKLCHoklch(72.46% 0.108 329.4)
XYZxyz(44.7347, 36.0123, 58.6164)
Luminance0.3601 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8DC7 #8DCC92
analogous
#B18DCC #CC8DC7 #CC8DA7
triadic
#CC8DC7 #C7CC8D #8DC7CC
tetradic
#CC8DC7 #CCB18D #8DCC92 #8DA7CC
square
#CC8DC7 #CCB18D #8DCC92 #8DA7CC
split-complementary
#CC8DC7 #A7CC8D #8DCCB1
monochromatic
#9A4593 #B963B2 #CC8DC7 #DFB7DC #F2E2F1

Accessibility & contrast

On white

2.56
#CC8DC7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#CC8DC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8DC7
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8DC7#FFFFFF#000000##000000
##CC8DC71.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9DC9
Deuteranopia (green-blind)
#99A5C5
Tritanopia (blue-blind)
#D191A2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cc8dc7;
/* rgb */ color: rgb(204, 141, 199);
/* oklch */ color: oklch(72.5% 0.108 329.4);
Tailwind
colors: {
  custom: {
    50: '#dcafd8',
    500: '#cc8dc7',
    950: '#000000',
  },
}
SCSS
$custom: #cc8dc7;
$custom-light: #dcafd8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8dc7",
  "rgb": {
    "r": 204,
    "g": 141,
    "b": 199
  },
  "hsl": {
    "h": 304.762,
    "s": 38.182,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72459,
    "c": 0.10808,
    "h": 329.4
  },
  "luminance": 0.36011
}

Semantic roles & 50–950 ramp

primary
#CC8DC7
secondary
#D1E4D2
accent
#B13E34
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83

Preview Lab

Preview with #CC8DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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