#CC8CD7#CC8CD7

#CC8CD7 is a light, vivid purple. Relative luminance 0.365; OKLCH L 72.9% C 0.126 H 321.5°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#CC8CD7
RGBrgb(204, 140, 215)
HSLhsl(291, 48%, 70%)
HSVhsv(291, 35%, 84%)
CMYKcmyk(5.1%, 34.9%, 0%, 15.7%)
CIE-LABlab(66.90, 36.77, -28.75)
CIE-LCHlch(66.90, 46.68, 321.98°)
OKLaboklab(72.94% 0.0987 -0.0785)
OKLCHoklch(72.94% 0.126 321.5)
XYZxyz(46.5442, 36.5013, 68.8705)
Luminance0.3650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8CD7 #97D78C
analogous
#A78CD7 #CC8CD7 #D78CBD
triadic
#CC8CD7 #D7CC8C #8CD7CC
tetradic
#CC8CD7 #D7A78C #97D78C #8CBDD7
square
#CC8CD7 #D7A78C #97D78C #8CBDD7
split-complementary
#CC8CD7 #BDD78C #8CD7A7
monochromatic
#9C3CAD #B85FC7 #CC8CD7 #E0B9E7 #F4E7F7

Accessibility & contrast

On white

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

On black

8.30
#CC8CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8CD7
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8CD7#FFFFFF#000000##000000
##CC8CD71.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#839EDA
Deuteranopia (green-blind)
#93A5D5
Tritanopia (blue-blind)
#CE94A8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cc8cd7;
/* rgb */ color: rgb(204, 140, 215);
/* oklch */ color: oklch(72.9% 0.126 321.5);
Tailwind
colors: {
  custom: {
    50: '#dcaee3',
    500: '#cc8cd7',
    950: '#000000',
  },
}
SCSS
$custom: #cc8cd7;
$custom-light: #dcaee3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8cd7",
  "rgb": {
    "r": 204,
    "g": 140,
    "b": 215
  },
  "hsl": {
    "h": 291.2,
    "s": 48.387,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72937,
    "c": 0.12615,
    "h": 321.5
  },
  "luminance": 0.365
}

Semantic roles & 50–950 ramp

primary
#CC8CD7
secondary
#D8EAD5
accent
#BC2A3F
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CC8CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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