#CC86E9#CC86E9

#CC86E9 is a light, vivid purple. Relative luminance 0.358; OKLCH L 72.8% C 0.156 H 315.5°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#CC86E9
RGBrgb(204, 134, 233)
HSLhsl(282, 69%, 72%)
HSVhsv(282, 42%, 91%)
CMYKcmyk(12.4%, 42.5%, 0%, 8.6%)
CIE-LABlab(66.35, 43.60, -39.58)
CIE-LCHlch(66.35, 58.88, 317.77°)
OKLaboklab(72.76% 0.1112 -0.1094)
OKLCHoklch(72.76% 0.156 315.5)
XYZxyz(48.1327, 35.7720, 81.4441)
Luminance0.3577 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC86E9 #A3E986
analogous
#9B86E9 #CC86E9 #E986D5
triadic
#CC86E9 #E9CC86 #86E9CC
tetradic
#CC86E9 #E99B86 #A3E986 #86D5E9
square
#CC86E9 #E99B86 #A3E986 #86D5E9
split-complementary
#CC86E9 #D5E986 #86E99B
monochromatic
#9D26CF #B652E0 #CC86E9 #E2BAF2 #F4E5FA

Accessibility & contrast

On white

2.58
#CC86E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#CC86E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC86E9
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC86E9#FFFFFF#000000##000000
##CC86E91.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#749DED
Deuteranopia (green-blind)
#87A3E6
Tritanopia (blue-blind)
#CB94AD
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cc86e9;
/* rgb */ color: rgb(204, 134, 233);
/* oklch */ color: oklch(72.8% 0.156 315.5);
Tailwind
colors: {
  custom: {
    50: '#ddabf0',
    500: '#cc86e9',
    950: '#000000',
  },
}
SCSS
$custom: #cc86e9;
$custom-light: #ddabf0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc86e9",
  "rgb": {
    "r": 204,
    "g": 134,
    "b": 233
  },
  "hsl": {
    "h": 282.424,
    "s": 69.231,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72763,
    "c": 0.15604,
    "h": 315.5
  },
  "luminance": 0.35771
}

Semantic roles & 50–950 ramp

primary
#CC86E9
secondary
#E0F2D9
accent
#D1144C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CC86E9

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

Preview Lab → · Contrast checker → · Palette generator →

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