#CD87DA#CD87DA

#CD87DA is a light, vivid purple. Relative luminance 0.354; OKLCH L 72.3% C 0.139 H 321.1°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#CD87DA
RGBrgb(205, 135, 218)
HSLhsl(291, 53%, 69%)
HSVhsv(291, 38%, 85%)
CMYKcmyk(6%, 38.1%, 0%, 14.5%)
CIE-LABlab(66.04, 40.36, -31.74)
CIE-LCHlch(66.04, 51.35, 321.82°)
OKLaboklab(72.35% 0.108 -0.087)
OKLCHoklch(72.35% 0.139 321.1)
XYZxyz(46.4942, 35.3706, 70.6941)
Luminance0.3537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD87DA #94DA87
analogous
#A487DA #CD87DA #DA87BE
triadic
#CD87DA #DACD87 #87DACD
tetradic
#CD87DA #DAA487 #94DA87 #87BEDA
square
#CD87DA #DAA487 #94DA87 #87BEDA
split-complementary
#CD87DA #BEDA87 #87DAA4
monochromatic
#9D36B0 #BA58CC #CD87DA #E0B6E8 #F4E5F7

Accessibility & contrast

On white

2.60
#CD87DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#CD87DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD87DA
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD87DA#FFFFFF#000000##000000
##CD87DA1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9BDD
Deuteranopia (green-blind)
#8FA3D7
Tritanopia (blue-blind)
#CF91A6
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cd87da;
/* rgb */ color: rgb(205, 135, 218);
/* oklch */ color: oklch(72.3% 0.139 321.1);
Tailwind
colors: {
  custom: {
    50: '#ddabe5',
    500: '#cd87da',
    950: '#000000',
  },
}
SCSS
$custom: #cd87da;
$custom-light: #ddabe5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd87da",
  "rgb": {
    "r": 205,
    "g": 135,
    "b": 218
  },
  "hsl": {
    "h": 290.602,
    "s": 52.866,
    "l": 69.216
  },
  "oklch": {
    "l": 0.72348,
    "c": 0.13863,
    "h": 321.1
  },
  "luminance": 0.35369
}

Semantic roles & 50–950 ramp

primary
#CD87DA
secondary
#D6EAD2
accent
#C0253D
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD87DA

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

Preview Lab → · Contrast checker → · Palette generator →

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