#CD87CF#CD87CF

#CD87CF is a light, vivid purple. Relative luminance 0.348; OKLCH L 71.9% C 0.127 H 325.8°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#CD87CF
RGBrgb(205, 135, 207)
HSLhsl(298, 43%, 67%)
HSVhsv(298, 35%, 81%)
CMYKcmyk(1%, 34.8%, 0%, 18.8%)
CIE-LABlab(65.60, 38.25, -26.28)
CIE-LCHlch(65.60, 46.41, 325.51°)
OKLaboklab(71.88% 0.1054 -0.0715)
OKLCHoklch(71.88% 0.127 325.8)
XYZxyz(45.1023, 34.8138, 63.3633)
Luminance0.3481 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD87CF #89CF87
analogous
#A987CF #CD87CF #CF87AD
triadic
#CD87CF #CFCD87 #87CFCD
tetradic
#CD87CF #CFA987 #89CF87 #87ADCF
square
#CD87CF #CFA987 #89CF87 #87ADCF
split-complementary
#CD87CF #ADCF87 #87CFA9
monochromatic
#9A3F9D #BB5BBE #CD87CF #DFB3E0 #F1DEF2

Accessibility & contrast

On white

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

On black

7.96
#CD87CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD87CF
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD87CF#FFFFFF#000000##000000
##CD87CF1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#819AD2
Deuteranopia (green-blind)
#93A2CD
Tritanopia (blue-blind)
#D18EA2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cd87cf;
/* rgb */ color: rgb(205, 135, 207);
/* oklch */ color: oklch(71.9% 0.127 325.8);
Tailwind
colors: {
  custom: {
    50: '#ddabde',
    500: '#cd87cf',
    950: '#000000',
  },
}
SCSS
$custom: #cd87cf;
$custom-light: #ddabde;
$custom-dark: #000000;
JSON
{
  "hex": "#cd87cf",
  "rgb": {
    "r": 205,
    "g": 135,
    "b": 207
  },
  "hsl": {
    "h": 298.333,
    "s": 42.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71879,
    "c": 0.12733,
    "h": 325.8
  },
  "luminance": 0.34812
}

Semantic roles & 50–950 ramp

primary
#CD87CF
secondary
#CEE4CD
accent
#B63033
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CD87CF

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

Preview Lab → · Contrast checker → · Palette generator →

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