#CC87CE#CC87CE

#CC87CE is a light, vivid purple. Relative luminance 0.346; OKLCH L 71.7% C 0.126 H 325.8°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#CC87CE
RGBrgb(204, 135, 206)
HSLhsl(298, 42%, 67%)
HSVhsv(298, 34%, 81%)
CMYKcmyk(1%, 34.5%, 0%, 19.2%)
CIE-LABlab(65.45, 37.75, -25.96)
CIE-LCHlch(65.45, 45.82, 325.48°)
OKLaboklab(71.73% 0.104 -0.0706)
OKLCHoklch(71.73% 0.126 325.8)
XYZxyz(44.7054, 34.6232, 62.7086)
Luminance0.3462 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC87CE #89CE87
analogous
#A987CE #CC87CE #CE87AD
triadic
#CC87CE #CECC87 #87CECC
tetradic
#CC87CE #CEA987 #89CE87 #87ADCE
square
#CC87CE #CEA987 #89CE87 #87ADCE
split-complementary
#CC87CE #ADCE87 #87CEA9
monochromatic
#993F9B #BA5CBC #CC87CE #DEB2E0 #F1DEF1

Accessibility & contrast

On white

2.65
#CC87CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#CC87CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC87CE
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC87CE#FFFFFF#000000##000000
##CC87CE1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#819AD1
Deuteranopia (green-blind)
#93A2CC
Tritanopia (blue-blind)
#D08EA1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cc87ce;
/* rgb */ color: rgb(204, 135, 206);
/* oklch */ color: oklch(71.7% 0.126 325.8);
Tailwind
colors: {
  custom: {
    50: '#dcabdd',
    500: '#cc87ce',
    950: '#000000',
  },
}
SCSS
$custom: #cc87ce;
$custom-light: #dcabdd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc87ce",
  "rgb": {
    "r": 204,
    "g": 135,
    "b": 206
  },
  "hsl": {
    "h": 298.31,
    "s": 42.012,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71729,
    "c": 0.12567,
    "h": 325.8
  },
  "luminance": 0.34622
}

Semantic roles & 50–950 ramp

primary
#CC87CE
secondary
#CEE4CD
accent
#B53034
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CC87CE

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

Preview Lab → · Contrast checker → · Palette generator →

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