#CC86DF#CC86DF

#CC86DF is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.3% C 0.145 H 318.9°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#CC86DF
RGBrgb(204, 134, 223)
HSLhsl(287, 58%, 70%)
HSVhsv(287, 40%, 87%)
CMYKcmyk(8.5%, 39.9%, 0%, 12.5%)
CIE-LABlab(65.92, 41.58, -34.71)
CIE-LCHlch(65.92, 54.16, 320.14°)
OKLaboklab(72.3% 0.1093 -0.0955)
OKLCHoklch(72.3% 0.145 318.9)
XYZxyz(46.7444, 35.2167, 74.1329)
Luminance0.3522 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC86DF #99DF86
analogous
#9F86DF #CC86DF #DF86C6
triadic
#CC86DF #DFCC86 #86DFCC
tetradic
#CC86DF #DF9F86 #99DF86 #86C6DF
square
#CC86DF #DF9F86 #99DF86 #86C6DF
split-complementary
#CC86DF #C6DF86 #86DF9F
monochromatic
#9C31BA #B856D2 #CC86DF #E0B6EC #F5E7F9

Accessibility & contrast

On white

2.61
#CC86DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#CC86DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC86DF
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC86DF#FFFFFF#000000##000000
##CC86DF1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#799BE2
Deuteranopia (green-blind)
#8BA3DC
Tritanopia (blue-blind)
#CD91A8
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cc86df;
/* rgb */ color: rgb(204, 134, 223);
/* oklch */ color: oklch(72.3% 0.145 318.9);
Tailwind
colors: {
  custom: {
    50: '#ddaae9',
    500: '#cc86df',
    950: '#000000',
  },
}
SCSS
$custom: #cc86df;
$custom-light: #ddaae9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc86df",
  "rgb": {
    "r": 204,
    "g": 134,
    "b": 223
  },
  "hsl": {
    "h": 287.191,
    "s": 58.17,
    "l": 70
  },
  "oklch": {
    "l": 0.72301,
    "c": 0.14514,
    "h": 318.9
  },
  "luminance": 0.35215
}

Semantic roles & 50–950 ramp

primary
#CC86DF
secondary
#D9EDD4
accent
#C62043
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CC86DF

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

Preview Lab → · Contrast checker → · Palette generator →

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