#CC87CA#CC87CA

#CC87CA is a light, vivid purple. Relative luminance 0.344; OKLCH L 71.6% C 0.122 H 327.8°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#CC87CA
RGBrgb(204, 135, 202)
HSLhsl(302, 40%, 66%)
HSVhsv(302, 34%, 80%)
CMYKcmyk(0%, 33.8%, 1%, 20%)
CIE-LABlab(65.30, 37.00, -23.96)
CIE-LCHlch(65.30, 44.08, 327.08°)
OKLaboklab(71.57% 0.1029 -0.0649)
OKLCHoklch(71.57% 0.122 327.8)
XYZxyz(44.2256, 34.4314, 60.1820)
Luminance0.3443 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC87CA #87CC89
analogous
#AC87CC #CC87CA #CC87A8
triadic
#CC87CA #CACC87 #87CACC
tetradic
#CC87CA #CCAC87 #87CC89 #87A8CC
square
#CC87CA #CCAC87 #87CC89 #87A8CC
split-complementary
#CC87CA #A8CC87 #87CCAC
monochromatic
#984195 #BA5CB7 #CC87CA #DEB2DD #F1DDF0

Accessibility & contrast

On white

2.66
#CC87CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#CC87CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC87CA
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC87CA#FFFFFF#000000##000000
##CC87CA1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8399CD
Deuteranopia (green-blind)
#94A2C8
Tritanopia (blue-blind)
#D08DA0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cc87ca;
/* rgb */ color: rgb(204, 135, 202);
/* oklch */ color: oklch(71.6% 0.122 327.8);
Tailwind
colors: {
  custom: {
    50: '#dcabda',
    500: '#cc87ca',
    950: '#000000',
  },
}
SCSS
$custom: #cc87ca;
$custom-light: #dcabda;
$custom-dark: #000000;
JSON
{
  "hex": "#cc87ca",
  "rgb": {
    "r": 204,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 301.739,
    "s": 40.351,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71565,
    "c": 0.12172,
    "h": 327.8
  },
  "luminance": 0.3443
}

Semantic roles & 50–950 ramp

primary
#CC87CA
secondary
#CCE3CD
accent
#B33632
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83

Preview Lab

Preview with #CC87CA

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

Preview Lab → · Contrast checker → · Palette generator →

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