#CD86EC#CD86EC

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

Color values

HEX#CD86EC
RGBrgb(205, 134, 236)
HSLhsl(282, 73%, 73%)
HSVhsv(282, 43%, 93%)
CMYKcmyk(13.1%, 43.2%, 0%, 7.5%)
CIE-LABlab(66.59, 44.51, -40.85)
CIE-LCHlch(66.59, 60.41, 317.46°)
OKLaboklab(73.01% 0.1129 -0.113)
OKLCHoklch(73.01% 0.16 315)
XYZxyz(48.8399, 36.0867, 83.7332)
Luminance0.3609 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD86EC #A5EC86
analogous
#9A86EC #CD86EC #EC86D8
triadic
#CD86EC #ECCD86 #86ECCD
tetradic
#CD86EC #EC9A86 #A5EC86 #86D8EC
square
#CD86EC #EC9A86 #A5EC86 #86D8EC
split-complementary
#CD86EC #D8EC86 #86EC9A
monochromatic
#9F22D6 #B751E4 #CD86EC #E3BBF4 #F4E5FB

Accessibility & contrast

On white

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

On black

8.22
#CD86EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD86EC
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD86EC#FFFFFF#000000##000000
##CD86EC1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#739EF0
Deuteranopia (green-blind)
#86A4E9
Tritanopia (blue-blind)
#CB94AE
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cd86ec;
/* rgb */ color: rgb(205, 134, 236);
/* oklch */ color: oklch(73.0% 0.160 315.0);
Tailwind
colors: {
  custom: {
    50: '#deabf2',
    500: '#cd86ec',
    950: '#000000',
  },
}
SCSS
$custom: #cd86ec;
$custom-light: #deabf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd86ec",
  "rgb": {
    "r": 205,
    "g": 134,
    "b": 236
  },
  "hsl": {
    "h": 281.765,
    "s": 72.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73011,
    "c": 0.15978,
    "h": 315
  },
  "luminance": 0.36085
}

Semantic roles & 50–950 ramp

primary
#CD86EC
secondary
#E0F3D8
accent
#D5114C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CD86EC

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

Preview Lab → · Contrast checker → · Palette generator →

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