#CC8CD6#CC8CD6

#CC8CD6 is a light, vivid purple. Relative luminance 0.364; OKLCH L 72.9% C 0.125 H 321.9°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#CC8CD6
RGBrgb(204, 140, 214)
HSLhsl(292, 47%, 69%)
HSVhsv(292, 35%, 84%)
CMYKcmyk(4.7%, 34.6%, 0%, 16.1%)
CIE-LABlab(66.86, 36.58, -28.25)
CIE-LCHlch(66.86, 46.22, 322.32°)
OKLaboklab(72.9% 0.0985 -0.0771)
OKLCHoklch(72.9% 0.125 321.9)
XYZxyz(46.4161, 36.4500, 68.1958)
Luminance0.3645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8CD6 #96D68C
analogous
#A78CD6 #CC8CD6 #D68CBB
triadic
#CC8CD6 #D6CC8C #8CD6CC
tetradic
#CC8CD6 #D6A78C #96D68C #8CBBD6
square
#CC8CD6 #D6A78C #96D68C #8CBBD6
split-complementary
#CC8CD6 #BBD68C #8CD6A7
monochromatic
#9C3DAB #B85FC6 #CC8CD6 #E0B9E6 #F4E6F6

Accessibility & contrast

On white

2.53
#CC8CD6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#CC8CD6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8CD6
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8CD6#FFFFFF#000000##000000
##CC8CD61.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#849ED9
Deuteranopia (green-blind)
#94A5D4
Tritanopia (blue-blind)
#CE94A7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cc8cd6;
/* rgb */ color: rgb(204, 140, 214);
/* oklch */ color: oklch(72.9% 0.125 321.9);
Tailwind
colors: {
  custom: {
    50: '#dcaee2',
    500: '#cc8cd6',
    950: '#000000',
  },
}
SCSS
$custom: #cc8cd6;
$custom-light: #dcaee2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8cd6",
  "rgb": {
    "r": 204,
    "g": 140,
    "b": 214
  },
  "hsl": {
    "h": 291.892,
    "s": 47.436,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72895,
    "c": 0.12509,
    "h": 321.9
  },
  "luminance": 0.36449
}

Semantic roles & 50–950 ramp

primary
#CC8CD6
secondary
#D7EAD4
accent
#BB2B3E
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CC8CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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