#CD86EB#CD86EB

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

Color values

HEX#CD86EB
RGBrgb(205, 134, 235)
HSLhsl(282, 72%, 72%)
HSVhsv(282, 43%, 92%)
CMYKcmyk(12.8%, 43%, 0%, 7.8%)
CIE-LABlab(66.54, 44.30, -40.36)
CIE-LCHlch(66.54, 59.93, 317.66°)
OKLaboklab(72.96% 0.1128 -0.1117)
OKLCHoklch(72.96% 0.159 315.3)
XYZxyz(48.6950, 36.0287, 82.9702)
Luminance0.3603 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD86EB #A4EB86
analogous
#9A86EB #CD86EB #EB86D7
triadic
#CD86EB #EBCD86 #86EBCD
tetradic
#CD86EB #EB9A86 #A4EB86 #86D7EB
square
#CD86EB #EB9A86 #A4EB86 #86D7EB
split-complementary
#CD86EB #D7EB86 #86EB9A
monochromatic
#9F23D4 #B751E2 #CD86EB #E3BBF4 #F4E5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD86EB#FFFFFF#000000##000000
##CD86EB1.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)
#749EEF
Deuteranopia (green-blind)
#86A4E8
Tritanopia (blue-blind)
#CB94AD
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cd86eb;
/* rgb */ color: rgb(205, 134, 235);
/* oklch */ color: oklch(73.0% 0.159 315.3);
Tailwind
colors: {
  custom: {
    50: '#deabf2',
    500: '#cd86eb',
    950: '#000000',
  },
}
SCSS
$custom: #cd86eb;
$custom-light: #deabf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd86eb",
  "rgb": {
    "r": 205,
    "g": 134,
    "b": 235
  },
  "hsl": {
    "h": 282.178,
    "s": 71.631,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72964,
    "c": 0.15868,
    "h": 315.3
  },
  "luminance": 0.36027
}

Semantic roles & 50–950 ramp

primary
#CD86EB
secondary
#E0F2D9
accent
#D4124B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CD86EB

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

Preview Lab → · Contrast checker → · Palette generator →

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