#CD87CD#CD87CD

#CD87CD is a light, vivid purple. Relative luminance 0.347; OKLCH L 71.8% C 0.125 H 326.8°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#CD87CD
RGBrgb(205, 135, 205)
HSLhsl(300, 41%, 67%)
HSVhsv(300, 34%, 80%)
CMYKcmyk(0%, 34.1%, 0%, 19.6%)
CIE-LABlab(65.53, 37.88, -25.28)
CIE-LCHlch(65.53, 45.54, 326.28°)
OKLaboklab(71.8% 0.1049 -0.0687)
OKLCHoklch(71.8% 0.125 326.8)
XYZxyz(44.8593, 34.7166, 62.0838)
Luminance0.3472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD87CD #87CD87
analogous
#AA87CD #CD87CD #CD87AA
triadic
#CD87CD #CDCD87 #87CDCD
tetradic
#CD87CD #CDAA87 #87CD87 #87AACD
square
#CD87CD #CDAA87 #87CD87 #87AACD
split-complementary
#CD87CD #AACD87 #87CDAA
monochromatic
#9A409A #BB5CBB #CD87CD #DFB2DF #F1DDF1

Accessibility & contrast

On white

2.64
#CD87CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#CD87CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD87CD
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD87CD#FFFFFF#000000##000000
##CD87CD1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#829AD0
Deuteranopia (green-blind)
#93A2CB
Tritanopia (blue-blind)
#D18DA1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cd87cd;
/* rgb */ color: rgb(205, 135, 205);
/* oklch */ color: oklch(71.8% 0.125 326.8);
Tailwind
colors: {
  custom: {
    50: '#ddabdc',
    500: '#cd87cd',
    950: '#000000',
  },
}
SCSS
$custom: #cd87cd;
$custom-light: #ddabdc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd87cd",
  "rgb": {
    "r": 205,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 300,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71797,
    "c": 0.12534,
    "h": 326.8
  },
  "luminance": 0.34715
}

Semantic roles & 50–950 ramp

primary
#CD87CD
secondary
#CDE3CD
accent
#B43131
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CD87CD

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

Preview Lab → · Contrast checker → · Palette generator →

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