#CD87D0#CD87D0

#CD87D0 is a light, vivid purple. Relative luminance 0.349; OKLCH L 71.9% C 0.128 H 325.4°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#CD87D0
RGBrgb(205, 135, 208)
HSLhsl(298, 44%, 67%)
HSVhsv(298, 35%, 82%)
CMYKcmyk(1.4%, 35.1%, 0%, 18.4%)
CIE-LABlab(65.64, 38.44, -26.78)
CIE-LCHlch(65.64, 46.85, 325.14°)
OKLaboklab(71.92% 0.1056 -0.0729)
OKLCHoklch(71.92% 0.128 325.4)
XYZxyz(45.2249, 34.8629, 64.0092)
Luminance0.3486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD87D0 #8AD087
analogous
#A887D0 #CD87D0 #D087AF
triadic
#CD87D0 #D0CD87 #87D0CD
tetradic
#CD87D0 #D0A887 #8AD087 #87AFD0
square
#CD87D0 #D0A887 #8AD087 #87AFD0
split-complementary
#CD87D0 #AFD087 #87D0A8
monochromatic
#9B3E9F #BB5BBF #CD87D0 #DFB3E1 #F2DFF2

Accessibility & contrast

On white

2.63
#CD87D0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#CD87D0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD87D0
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD87D0#FFFFFF#000000##000000
##CD87D01.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#819AD3
Deuteranopia (green-blind)
#92A3CE
Tritanopia (blue-blind)
#D18EA2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cd87d0;
/* rgb */ color: rgb(205, 135, 208);
/* oklch */ color: oklch(71.9% 0.128 325.4);
Tailwind
colors: {
  custom: {
    50: '#ddabde',
    500: '#cd87d0',
    950: '#000000',
  },
}
SCSS
$custom: #cd87d0;
$custom-light: #ddabde;
$custom-dark: #000000;
JSON
{
  "hex": "#cd87d0",
  "rgb": {
    "r": 205,
    "g": 135,
    "b": 208
  },
  "hsl": {
    "h": 297.534,
    "s": 43.713,
    "l": 67.255
  },
  "oklch": {
    "l": 0.71921,
    "c": 0.12834,
    "h": 325.4
  },
  "luminance": 0.34861
}

Semantic roles & 50–950 ramp

primary
#CD87D0
secondary
#CFE5CE
accent
#B72F34
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CD87D0

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

Preview Lab → · Contrast checker → · Palette generator →

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