#CD86E7#CD86E7

#CD86E7 is a light, vivid purple. Relative luminance 0.358; OKLCH L 72.8% C 0.154 H 316.6°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#CD86E7
RGBrgb(205, 134, 231)
HSLhsl(284, 67%, 72%)
HSVhsv(284, 42%, 91%)
CMYKcmyk(11.3%, 42%, 0%, 9.4%)
CIE-LABlab(66.37, 43.48, -38.43)
CIE-LCHlch(66.37, 58.03, 318.53°)
OKLaboklab(72.78% 0.112 -0.1061)
OKLCHoklch(72.78% 0.154 316.6)
XYZxyz(48.1236, 35.8002, 79.9609)
Luminance0.3580 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD86E7 #A0E786
analogous
#9D86E7 #CD86E7 #E786D1
triadic
#CD86E7 #E7CD86 #86E7CD
tetradic
#CD86E7 #E79D86 #A0E786 #86D1E7
square
#CD86E7 #E79D86 #A0E786 #86D1E7
split-complementary
#CD86E7 #D1E786 #86E79D
monochromatic
#9F28CA #B853DD #CD86E7 #E2B9F1 #F4E5FA

Accessibility & contrast

On white

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

On black

8.16
#CD86E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD86E7
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD86E7#FFFFFF#000000##000000
##CD86E71.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#769DEB
Deuteranopia (green-blind)
#88A4E4
Tritanopia (blue-blind)
#CC93AC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cd86e7;
/* rgb */ color: rgb(205, 134, 231);
/* oklch */ color: oklch(72.8% 0.154 316.6);
Tailwind
colors: {
  custom: {
    50: '#deabef',
    500: '#cd86e7',
    950: '#000000',
  },
}
SCSS
$custom: #cd86e7;
$custom-light: #deabef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd86e7",
  "rgb": {
    "r": 205,
    "g": 134,
    "b": 231
  },
  "hsl": {
    "h": 283.918,
    "s": 66.897,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72775,
    "c": 0.15431,
    "h": 316.6
  },
  "luminance": 0.35799
}

Semantic roles & 50–950 ramp

primary
#CD86E7
secondary
#DFF1D8
accent
#CF1748
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD86E7

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

Preview Lab → · Contrast checker → · Palette generator →

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