#CD87BE#CD87BE

#CD87BE is a light, moderate pink. Relative luminance 0.340; OKLCH L 71.2% C 0.111 H 334.8°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#CD87BE
RGBrgb(205, 135, 190)
HSLhsl(313, 41%, 67%)
HSVhsv(313, 34%, 80%)
CMYKcmyk(0%, 34.1%, 7.3%, 19.6%)
CIE-LABlab(64.98, 35.17, -17.70)
CIE-LCHlch(64.98, 39.37, 333.28°)
OKLaboklab(71.21% 0.1008 -0.0475)
OKLCHoklch(71.21% 0.111 334.8)
XYZxyz(43.1347, 34.0268, 53.0010)
Luminance0.3402 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD87BE #87CD96
analogous
#B987CD #CD87BE #CD879B
triadic
#CD87BE #BECD87 #87BECD
tetradic
#CD87BE #CDB987 #87CD96 #879BCD
square
#CD87BE #CDB987 #87CD96 #879BCD
split-complementary
#CD87BE #9BCD87 #87CDB9
monochromatic
#9A4086 #BB5CA7 #CD87BE #DFB2D5 #F1DDED

Accessibility & contrast

On white

2.69
#CD87BE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#CD87BE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD87BE
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD87BE#FFFFFF#000000##000000
##CD87BE1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8797C0
Deuteranopia (green-blind)
#98A1BC
Tritanopia (blue-blind)
#D48A9B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd87be;
/* rgb */ color: rgb(205, 135, 190);
/* oklch */ color: oklch(71.2% 0.111 334.8);
Tailwind
colors: {
  custom: {
    50: '#ddabd1',
    500: '#cd87be',
    950: '#000000',
  },
}
SCSS
$custom: #cd87be;
$custom-light: #ddabd1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd87be",
  "rgb": {
    "r": 205,
    "g": 135,
    "b": 190
  },
  "hsl": {
    "h": 312.857,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71206,
    "c": 0.11137,
    "h": 334.8
  },
  "luminance": 0.34025
}

Semantic roles & 50–950 ramp

primary
#CD87BE
secondary
#CDE3D1
accent
#B44D31
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#151014
muted
#837F82

Preview Lab

Preview with #CD87BE

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

Preview Lab → · Contrast checker → · Palette generator →

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