#CC86EB#CC86EB

#CC86EB is a light, vivid purple. Relative luminance 0.359; OKLCH L 72.9% C 0.158 H 314.8°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#CC86EB
RGBrgb(204, 134, 235)
HSLhsl(282, 72%, 72%)
HSVhsv(282, 43%, 92%)
CMYKcmyk(13.2%, 43%, 0%, 7.8%)
CIE-LABlab(66.43, 44.01, -40.54)
CIE-LCHlch(66.43, 59.84, 317.35°)
OKLaboklab(72.86% 0.1116 -0.1122)
OKLCHoklch(72.86% 0.158 314.8)
XYZxyz(48.4200, 35.8869, 82.9573)
Luminance0.3589 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC86EB #A5EB86
analogous
#9A86EB #CC86EB #EB86D8
triadic
#CC86EB #EBCC86 #86EBCC
tetradic
#CC86EB #EB9A86 #A5EB86 #86D8EB
square
#CC86EB #EB9A86 #A5EB86 #86D8EB
split-complementary
#CC86EB #D8EB86 #86EB9A
monochromatic
#9D23D4 #B651E2 #CC86EB #E2BBF4 #F4E5FB

Accessibility & contrast

On white

2.57
#CC86EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#CC86EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC86EB
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC86EB#FFFFFF#000000##000000
##CC86EB1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#739DEF
Deuteranopia (green-blind)
#86A4E8
Tritanopia (blue-blind)
#CA94AD
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cc86eb;
/* rgb */ color: rgb(204, 134, 235);
/* oklch */ color: oklch(72.9% 0.158 314.8);
Tailwind
colors: {
  custom: {
    50: '#ddabf2',
    500: '#cc86eb',
    950: '#000000',
  },
}
SCSS
$custom: #cc86eb;
$custom-light: #ddabf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc86eb",
  "rgb": {
    "r": 204,
    "g": 134,
    "b": 235
  },
  "hsl": {
    "h": 281.584,
    "s": 71.631,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72858,
    "c": 0.15824,
    "h": 314.8
  },
  "luminance": 0.35886
}

Semantic roles & 50–950 ramp

primary
#CC86EB
secondary
#E1F2D9
accent
#D4124D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CC86EB

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

Preview Lab → · Contrast checker → · Palette generator →

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