#CD87DE#CD87DE

#CD87DE is a light, vivid purple. Relative luminance 0.356; OKLCH L 72.5% C 0.143 H 319.6°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#CD87DE
RGBrgb(205, 135, 222)
HSLhsl(288, 57%, 70%)
HSVhsv(288, 39%, 87%)
CMYKcmyk(7.7%, 39.2%, 0%, 12.9%)
CIE-LABlab(66.20, 41.15, -33.71)
CIE-LCHlch(66.20, 53.19, 320.67°)
OKLaboklab(72.52% 0.1088 -0.0926)
OKLCHoklch(72.52% 0.143 319.6)
XYZxyz(47.0239, 35.5825, 73.4841)
Luminance0.3558 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD87DE #98DE87
analogous
#A287DE #CD87DE #DE87C3
triadic
#CD87DE #DECD87 #87DECD
tetradic
#CD87DE #DEA287 #98DE87 #87C3DE
square
#CD87DE #DEA287 #98DE87 #87C3DE
split-complementary
#CD87DE #C3DE87 #87DEA2
monochromatic
#9E33B8 #B957D1 #CD87DE #E1B7EB #F5E7F8

Accessibility & contrast

On white

2.59
#CD87DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#CD87DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD87DE
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD87DE#FFFFFF#000000##000000
##CD87DE1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9CE1
Deuteranopia (green-blind)
#8DA3DB
Tritanopia (blue-blind)
#CE92A8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cd87de;
/* rgb */ color: rgb(205, 135, 222);
/* oklch */ color: oklch(72.5% 0.143 319.6);
Tailwind
colors: {
  custom: {
    50: '#ddabe8',
    500: '#cd87de',
    950: '#000000',
  },
}
SCSS
$custom: #cd87de;
$custom-light: #ddabe8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd87de",
  "rgb": {
    "r": 205,
    "g": 135,
    "b": 222
  },
  "hsl": {
    "h": 288.276,
    "s": 56.863,
    "l": 70
  },
  "oklch": {
    "l": 0.72525,
    "c": 0.14288,
    "h": 319.6
  },
  "luminance": 0.35581
}

Semantic roles & 50–950 ramp

primary
#CD87DE
secondary
#D9EDD4
accent
#C42141
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD87DE

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

Preview Lab → · Contrast checker → · Palette generator →

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