#CC8CD4#CC8CD4

#CC8CD4 is a light, vivid purple. Relative luminance 0.363; OKLCH L 72.8% C 0.123 H 322.8°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#CC8CD4
RGBrgb(204, 140, 212)
HSLhsl(293, 46%, 69%)
HSVhsv(293, 34%, 83%)
CMYKcmyk(3.8%, 34%, 0%, 16.9%)
CIE-LABlab(66.79, 36.19, -27.26)
CIE-LCHlch(66.79, 45.31, 323.01°)
OKLaboklab(72.81% 0.098 -0.0743)
OKLCHoklch(72.81% 0.123 322.8)
XYZxyz(46.1623, 36.3485, 66.8589)
Luminance0.3635 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8CD4 #94D48C
analogous
#A88CD4 #CC8CD4 #D48CB8
triadic
#CC8CD4 #D4CC8C #8CD4CC
tetradic
#CC8CD4 #D4A88C #94D48C #8CB8D4
square
#CC8CD4 #D4A88C #94D48C #8CB8D4
split-complementary
#CC8CD4 #B8D48C #8CD4A8
monochromatic
#9B3EA7 #B85FC3 #CC8CD4 #E0B9E5 #F4E5F5

Accessibility & contrast

On white

2.54
#CC8CD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#CC8CD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8CD4
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8CD4#FFFFFF#000000##000000
##CC8CD41.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#859ED7
Deuteranopia (green-blind)
#94A5D2
Tritanopia (blue-blind)
#CE93A7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cc8cd4;
/* rgb */ color: rgb(204, 140, 212);
/* oklch */ color: oklch(72.8% 0.123 322.8);
Tailwind
colors: {
  custom: {
    50: '#dcaee1',
    500: '#cc8cd4',
    950: '#000000',
  },
}
SCSS
$custom: #cc8cd4;
$custom-light: #dcaee1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8cd4",
  "rgb": {
    "r": 204,
    "g": 140,
    "b": 212
  },
  "hsl": {
    "h": 293.333,
    "s": 45.57,
    "l": 69.02
  },
  "oklch": {
    "l": 0.72812,
    "c": 0.12298,
    "h": 322.8
  },
  "luminance": 0.36347
}

Semantic roles & 50–950 ramp

primary
#CC8CD4
secondary
#D6E8D3
accent
#B92D3C
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CC8CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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