#CC86EE#CC86EE

#CC86EE is a light, vivid purple. Relative luminance 0.361; OKLCH L 73.0% C 0.162 H 313.9°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#CC86EE
RGBrgb(204, 134, 238)
HSLhsl(280, 75%, 73%)
HSVhsv(280, 44%, 93%)
CMYKcmyk(14.3%, 43.7%, 0%, 6.7%)
CIE-LABlab(66.57, 44.64, -41.98)
CIE-LCHlch(66.57, 61.28, 316.75°)
OKLaboklab(73% 0.1121 -0.1164)
OKLCHoklch(73% 0.162 313.9)
XYZxyz(48.8570, 36.0617, 85.2592)
Luminance0.3606 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC86EE #A8EE86
analogous
#9886EE #CC86EE #EE86DC
triadic
#CC86EE #EECC86 #86EECC
tetradic
#CC86EE #EE9886 #A8EE86 #86DCEE
square
#CC86EE #EE9886 #A8EE86 #86DCEE
split-complementary
#CC86EE #DCEE86 #86EE98
monochromatic
#9D1FDB #B550E6 #CC86EE #E3BCF6 #F4E4FB

Accessibility & contrast

On white

2.56
#CC86EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#CC86EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC86EE
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC86EE#FFFFFF#000000##000000
##CC86EE1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#729EF2
Deuteranopia (green-blind)
#84A4EB
Tritanopia (blue-blind)
#C995AF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cc86ee;
/* rgb */ color: rgb(204, 134, 238);
/* oklch */ color: oklch(73.0% 0.162 313.9);
Tailwind
colors: {
  custom: {
    50: '#ddabf4',
    500: '#cc86ee',
    950: '#000000',
  },
}
SCSS
$custom: #cc86ee;
$custom-light: #ddabf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc86ee",
  "rgb": {
    "r": 204,
    "g": 134,
    "b": 238
  },
  "hsl": {
    "h": 280.385,
    "s": 75.362,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73002,
    "c": 0.16157,
    "h": 313.9
  },
  "luminance": 0.36061
}

Semantic roles & 50–950 ramp

primary
#CC86EE
secondary
#E1F3D8
accent
#D80E50
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CC86EE

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

Preview Lab → · Contrast checker → · Palette generator →

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