#CD87B7#CD87B7

#CD87B7 is a light, moderate pink. Relative luminance 0.337; OKLCH L 70.9% C 0.106 H 339.1°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#CD87B7
RGBrgb(205, 135, 183)
HSLhsl(319, 41%, 67%)
HSVhsv(319, 34%, 80%)
CMYKcmyk(0%, 34.1%, 10.7%, 19.6%)
CIE-LABlab(64.75, 33.96, -14.12)
CIE-LCHlch(64.75, 36.78, 337.43°)
OKLaboklab(70.95% 0.0986 -0.0376)
OKLCHoklch(70.95% 0.106 339.1)
XYZxyz(42.3880, 33.7281, 49.0680)
Luminance0.3373 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD87B7 #87CD9D
analogous
#C087CD #CD87B7 #CD8794
triadic
#CD87B7 #B7CD87 #87B7CD
tetradic
#CD87B7 #CDC087 #87CD9D #8794CD
square
#CD87B7 #CDC087 #87CD9D #8794CD
split-complementary
#CD87B7 #94CD87 #87CDC0
monochromatic
#9A407D #BB5C9D #CD87B7 #DFB2D1 #F1DDEB

Accessibility & contrast

On white

2.71
#CD87B7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#CD87B7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD87B7
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD87B7#FFFFFF#000000##000000
##CD87B71.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8997B9
Deuteranopia (green-blind)
#9AA1B5
Tritanopia (blue-blind)
#D58898
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd87b7;
/* rgb */ color: rgb(205, 135, 183);
/* oklch */ color: oklch(70.9% 0.106 339.1);
Tailwind
colors: {
  custom: {
    50: '#ddabcc',
    500: '#cd87b7',
    950: '#000000',
  },
}
SCSS
$custom: #cd87b7;
$custom-light: #ddabcc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd87b7",
  "rgb": {
    "r": 205,
    "g": 135,
    "b": 183
  },
  "hsl": {
    "h": 318.857,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70947,
    "c": 0.10555,
    "h": 339.1
  },
  "luminance": 0.33726
}

Semantic roles & 50–950 ramp

primary
#CD87B7
secondary
#CDE3D4
accent
#B45A31
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#151013
muted
#837F82

Preview Lab

Preview with #CD87B7

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

Preview Lab → · Contrast checker → · Palette generator →

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