#CC86ED#CC86ED

#CC86ED is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.0% C 0.160 H 314.2°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#CC86ED
RGBrgb(204, 134, 237)
HSLhsl(281, 74%, 73%)
HSVhsv(281, 43%, 93%)
CMYKcmyk(13.9%, 43.5%, 0%, 7.1%)
CIE-LABlab(66.52, 44.43, -41.50)
CIE-LCHlch(66.52, 60.80, 316.95°)
OKLaboklab(72.95% 0.1119 -0.115)
OKLCHoklch(72.95% 0.16 314.2)
XYZxyz(48.7105, 36.0031, 84.4877)
Luminance0.3600 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC86ED #A7ED86
analogous
#9986ED #CC86ED #ED86DA
triadic
#CC86ED #EDCC86 #86EDCC
tetradic
#CC86ED #ED9986 #A7ED86 #86DAED
square
#CC86ED #ED9986 #A7ED86 #86DAED
split-complementary
#CC86ED #DAED86 #86ED99
monochromatic
#9D20D8 #B651E5 #CC86ED #E2BBF5 #F4E4FB

Accessibility & contrast

On white

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

On black

8.20
#CC86ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC86ED
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC86ED#FFFFFF#000000##000000
##CC86ED1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#729EF1
Deuteranopia (green-blind)
#85A4EA
Tritanopia (blue-blind)
#CA95AE
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cc86ed;
/* rgb */ color: rgb(204, 134, 237);
/* oklch */ color: oklch(73.0% 0.160 314.2);
Tailwind
colors: {
  custom: {
    50: '#ddabf3',
    500: '#cc86ed',
    950: '#000000',
  },
}
SCSS
$custom: #cc86ed;
$custom-light: #ddabf3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc86ed",
  "rgb": {
    "r": 204,
    "g": 134,
    "b": 237
  },
  "hsl": {
    "h": 280.777,
    "s": 74.101,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72954,
    "c": 0.16046,
    "h": 314.2
  },
  "luminance": 0.36002
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC86ED

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

Preview Lab → · Contrast checker → · Palette generator →

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