#CC86CE#CC86CE

#CC86CE is a light, vivid purple. Relative luminance 0.343; OKLCH L 71.6% C 0.127 H 325.9°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#CC86CE
RGBrgb(204, 134, 206)
HSLhsl(298, 42%, 67%)
HSVhsv(298, 35%, 81%)
CMYKcmyk(1%, 35%, 0%, 19.2%)
CIE-LABlab(65.24, 38.29, -26.30)
CIE-LCHlch(65.24, 46.45, 325.52°)
OKLaboklab(71.56% 0.1055 -0.0715)
OKLCHoklch(71.56% 0.127 325.9)
XYZxyz(44.5665, 34.3455, 62.6623)
Luminance0.3434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC86CE #88CE86
analogous
#A886CE #CC86CE #CE86AC
triadic
#CC86CE #CECC86 #86CECC
tetradic
#CC86CE #CEA886 #88CE86 #86ACCE
square
#CC86CE #CEA886 #88CE86 #86ACCE
split-complementary
#CC86CE #ACCE86 #86CEA8
monochromatic
#983F9B #BA5ABC #CC86CE #DEB2E0 #F1DDF1

Accessibility & contrast

On white

2.67
#CC86CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#CC86CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC86CE
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC86CE#FFFFFF#000000##000000
##CC86CE1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8099D1
Deuteranopia (green-blind)
#92A1CC
Tritanopia (blue-blind)
#D08DA1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cc86ce;
/* rgb */ color: rgb(204, 134, 206);
/* oklch */ color: oklch(71.6% 0.127 325.9);
Tailwind
colors: {
  custom: {
    50: '#dcaadd',
    500: '#cc86ce',
    950: '#000000',
  },
}
SCSS
$custom: #cc86ce;
$custom-light: #dcaadd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc86ce",
  "rgb": {
    "r": 204,
    "g": 134,
    "b": 206
  },
  "hsl": {
    "h": 298.333,
    "s": 42.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71564,
    "c": 0.12744,
    "h": 325.9
  },
  "luminance": 0.34344
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC86CE

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

Preview Lab → · Contrast checker → · Palette generator →

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