#CC8CDC#CC8CDC

#CC8CDC is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.2% C 0.132 H 319.4°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#CC8CDC
RGBrgb(204, 140, 220)
HSLhsl(288, 53%, 71%)
HSVhsv(288, 36%, 86%)
CMYKcmyk(7.3%, 36.4%, 0%, 13.7%)
CIE-LABlab(67.10, 37.76, -31.22)
CIE-LCHlch(67.10, 48.99, 320.42°)
OKLaboklab(73.15% 0.0999 -0.0855)
OKLCHoklch(73.15% 0.132 319.4)
XYZxyz(47.1965, 36.7622, 72.3059)
Luminance0.3676 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8CDC #9CDC8C
analogous
#A48CDC #CC8CDC #DC8CC4
triadic
#CC8CDC #DCCC8C #8CDCCC
tetradic
#CC8CDC #DCA48C #9CDC8C #8CC4DC
square
#CC8CDC #DCA48C #9CDC8C #8CC4DC
split-complementary
#CC8CDC #C4DC8C #8CDCA4
monochromatic
#9D37B6 #B75DCE #CC8CDC #E1BBEA #F5E8F8

Accessibility & contrast

On white

2.51
#CC8CDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#CC8CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8CDC
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8CDC#FFFFFF#000000##000000
##CC8CDC1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#819FDF
Deuteranopia (green-blind)
#91A6DA
Tritanopia (blue-blind)
#CD95AA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cc8cdc;
/* rgb */ color: rgb(204, 140, 220);
/* oklch */ color: oklch(73.2% 0.132 319.4);
Tailwind
colors: {
  custom: {
    50: '#dcaee7',
    500: '#cc8cdc',
    950: '#000000',
  },
}
SCSS
$custom: #cc8cdc;
$custom-light: #dcaee7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8cdc",
  "rgb": {
    "r": 204,
    "g": 140,
    "b": 220
  },
  "hsl": {
    "h": 288,
    "s": 53.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73151,
    "c": 0.13153,
    "h": 319.4
  },
  "luminance": 0.36761
}

Semantic roles & 50–950 ramp

primary
#CC8CDC
secondary
#DBEDD7
accent
#C12544
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CC8CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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