#CC8CD2#CC8CD2

#CC8CD2 is a light, vivid purple. Relative luminance 0.362; OKLCH L 72.7% C 0.121 H 323.7°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#CC8CD2
RGBrgb(204, 140, 210)
HSLhsl(295, 44%, 69%)
HSVhsv(295, 33%, 82%)
CMYKcmyk(2.9%, 33.3%, 0%, 17.6%)
CIE-LABlab(66.71, 35.81, -26.26)
CIE-LCHlch(66.71, 44.41, 323.74°)
OKLaboklab(72.73% 0.0975 -0.0715)
OKLCHoklch(72.73% 0.121 323.7)
XYZxyz(45.9115, 36.2482, 65.5384)
Luminance0.3625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8CD2 #92D28C
analogous
#A98CD2 #CC8CD2 #D28CB5
triadic
#CC8CD2 #D2CC8C #8CD2CC
tetradic
#CC8CD2 #D2A98C #92D28C #8CB5D2
square
#CC8CD2 #D2A98C #92D28C #8CB5D2
split-complementary
#CC8CD2 #B5D28C #8CD2A9
monochromatic
#9B40A4 #B860C1 #CC8CD2 #E0B8E3 #F3E4F4

Accessibility & contrast

On white

2.55
#CC8CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#CC8CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8CD2
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8CD2#FFFFFF#000000##000000
##CC8CD21.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#859DD5
Deuteranopia (green-blind)
#95A5D0
Tritanopia (blue-blind)
#CF93A6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cc8cd2;
/* rgb */ color: rgb(204, 140, 210);
/* oklch */ color: oklch(72.7% 0.121 323.7);
Tailwind
colors: {
  custom: {
    50: '#dcaee0',
    500: '#cc8cd2',
    950: '#000000',
  },
}
SCSS
$custom: #cc8cd2;
$custom-light: #dcaee0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8cd2",
  "rgb": {
    "r": 204,
    "g": 140,
    "b": 210
  },
  "hsl": {
    "h": 294.857,
    "s": 43.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72729,
    "c": 0.12089,
    "h": 323.7
  },
  "luminance": 0.36247
}

Semantic roles & 50–950 ramp

primary
#CC8CD2
secondary
#D4E7D2
accent
#B72F3A
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CC8CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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