#CC8DC6#CC8DC6

#CC8DC6 is a light, moderate purple. Relative luminance 0.360; OKLCH L 72.4% C 0.107 H 329.9°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#CC8DC6
RGBrgb(204, 141, 198)
HSLhsl(306, 38%, 68%)
HSVhsv(306, 31%, 80%)
CMYKcmyk(0%, 30.9%, 2.9%, 20%)
CIE-LABlab(66.49, 33.02, -19.90)
CIE-LCHlch(66.49, 38.55, 328.92°)
OKLaboklab(72.42% 0.0927 -0.0536)
OKLCHoklch(72.42% 0.107 329.9)
XYZxyz(44.6190, 35.9661, 58.0069)
Luminance0.3596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8DC6 #8DCC93
analogous
#B28DCC #CC8DC6 #CC8DA7
triadic
#CC8DC6 #C6CC8D #8DC6CC
tetradic
#CC8DC6 #CCB28D #8DCC93 #8DA7CC
square
#CC8DC6 #CCB28D #8DCC93 #8DA7CC
split-complementary
#CC8DC6 #A7CC8D #8DCCB2
monochromatic
#9A4592 #B963B1 #CC8DC6 #DFB7DB #F2E2F0

Accessibility & contrast

On white

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

On black

8.19
#CC8DC6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8DC6
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8DC6#FFFFFF#000000##000000
##CC8DC61.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9CC8
Deuteranopia (green-blind)
#9AA5C4
Tritanopia (blue-blind)
#D191A1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cc8dc6;
/* rgb */ color: rgb(204, 141, 198);
/* oklch */ color: oklch(72.4% 0.107 329.9);
Tailwind
colors: {
  custom: {
    50: '#dcafd7',
    500: '#cc8dc6',
    950: '#000000',
  },
}
SCSS
$custom: #cc8dc6;
$custom-light: #dcafd7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8dc6",
  "rgb": {
    "r": 204,
    "g": 141,
    "b": 198
  },
  "hsl": {
    "h": 305.714,
    "s": 38.182,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72421,
    "c": 0.10711,
    "h": 329.9
  },
  "luminance": 0.35964
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC8DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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