#CC8CD3#CC8CD3

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

Color values

HEX#CC8CD3
RGBrgb(204, 140, 211)
HSLhsl(294, 45%, 69%)
HSVhsv(294, 34%, 83%)
CMYKcmyk(3.3%, 33.6%, 0%, 17.3%)
CIE-LABlab(66.75, 36.00, -26.76)
CIE-LCHlch(66.75, 44.86, 323.37°)
OKLaboklab(72.77% 0.0978 -0.0729)
OKLCHoklch(72.77% 0.122 323.3)
XYZxyz(46.0365, 36.2982, 66.1966)
Luminance0.3630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8CD3 #93D38C
analogous
#A98CD3 #CC8CD3 #D38CB7
triadic
#CC8CD3 #D3CC8C #8CD3CC
tetradic
#CC8CD3 #D3A98C #93D38C #8CB7D3
square
#CC8CD3 #D3A98C #93D38C #8CB7D3
split-complementary
#CC8CD3 #B7D38C #8CD3A9
monochromatic
#9B3FA5 #B860C2 #CC8CD3 #E0B8E4 #F3E5F5

Accessibility & contrast

On white

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

On black

8.26
#CC8CD3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8CD3
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8CD3#FFFFFF#000000##000000
##CC8CD31.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc8cd3;
/* rgb */ color: rgb(204, 140, 211);
/* oklch */ color: oklch(72.8% 0.122 323.3);
Tailwind
colors: {
  custom: {
    50: '#dcaee0',
    500: '#cc8cd3',
    950: '#000000',
  },
}
SCSS
$custom: #cc8cd3;
$custom-light: #dcaee0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8cd3",
  "rgb": {
    "r": 204,
    "g": 140,
    "b": 211
  },
  "hsl": {
    "h": 294.085,
    "s": 44.654,
    "l": 68.824
  },
  "oklch": {
    "l": 0.7277,
    "c": 0.12194,
    "h": 323.3
  },
  "luminance": 0.36297
}

Semantic roles & 50–950 ramp

primary
#CC8CD3
secondary
#D5E8D3
accent
#B82E3B
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CC8CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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