#CC86E2#CC86E2

#CC86E2 is a light, vivid purple. Relative luminance 0.354; OKLCH L 72.4% C 0.148 H 317.8°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#CC86E2
RGBrgb(204, 134, 226)
HSLhsl(286, 61%, 71%)
HSVhsv(286, 41%, 89%)
CMYKcmyk(9.7%, 40.7%, 0%, 11.4%)
CIE-LABlab(66.04, 42.18, -36.18)
CIE-LCHlch(66.04, 55.57, 319.38°)
OKLaboklab(72.44% 0.1099 -0.0996)
OKLCHoklch(72.44% 0.148 317.8)
XYZxyz(47.1525, 35.3799, 76.2819)
Luminance0.3538 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC86E2 #9CE286
analogous
#9E86E2 #CC86E2 #E286CA
triadic
#CC86E2 #E2CC86 #86E2CC
tetradic
#CC86E2 #E29E86 #9CE286 #86CAE2
square
#CC86E2 #E29E86 #9CE286 #86CAE2
split-complementary
#CC86E2 #CAE286 #86E29E
monochromatic
#9D2EC0 #B755D6 #CC86E2 #E1B7EE #F5E6F9

Accessibility & contrast

On white

2.60
#CC86E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#CC86E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC86E2
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC86E2#FFFFFF#000000##000000
##CC86E21.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#789CE5
Deuteranopia (green-blind)
#8AA3DF
Tritanopia (blue-blind)
#CC92A9
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cc86e2;
/* rgb */ color: rgb(204, 134, 226);
/* oklch */ color: oklch(72.4% 0.148 317.8);
Tailwind
colors: {
  custom: {
    50: '#ddaaeb',
    500: '#cc86e2',
    950: '#000000',
  },
}
SCSS
$custom: #cc86e2;
$custom-light: #ddaaeb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc86e2",
  "rgb": {
    "r": 204,
    "g": 134,
    "b": 226
  },
  "hsl": {
    "h": 285.652,
    "s": 61.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72438,
    "c": 0.14837,
    "h": 317.8
  },
  "luminance": 0.35379
}

Semantic roles & 50–950 ramp

primary
#CC86E2
secondary
#DBEED5
accent
#C91C46
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CC86E2

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

Preview Lab → · Contrast checker → · Palette generator →

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