#CD87BD#CD87BD

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

Color values

HEX#CD87BD
RGBrgb(205, 135, 189)
HSLhsl(314, 41%, 67%)
HSVhsv(314, 34%, 80%)
CMYKcmyk(0%, 34.1%, 7.8%, 19.6%)
CIE-LABlab(64.95, 34.99, -17.19)
CIE-LCHlch(64.95, 38.99, 333.84°)
OKLaboklab(71.17% 0.1005 -0.046)
OKLCHoklch(71.17% 0.111 335.4)
XYZxyz(43.0258, 33.9832, 52.4273)
Luminance0.3398 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD87BD #87CD97
analogous
#BA87CD #CD87BD #CD879A
triadic
#CD87BD #BDCD87 #87BDCD
tetradic
#CD87BD #CDBA87 #87CD97 #879ACD
square
#CD87BD #CDBA87 #87CD97 #879ACD
split-complementary
#CD87BD #9ACD87 #87CDBA
monochromatic
#9A4085 #BB5CA5 #CD87BD #DFB2D5 #F1DDED

Accessibility & contrast

On white

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

On black

7.80
#CD87BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD87BD
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD87BD#FFFFFF#000000##000000
##CD87BD1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8797BF
Deuteranopia (green-blind)
#99A1BB
Tritanopia (blue-blind)
#D48A9A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd87bd;
/* rgb */ color: rgb(205, 135, 189);
/* oklch */ color: oklch(71.2% 0.111 335.4);
Tailwind
colors: {
  custom: {
    50: '#ddabd1',
    500: '#cd87bd',
    950: '#000000',
  },
}
SCSS
$custom: #cd87bd;
$custom-light: #ddabd1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd87bd",
  "rgb": {
    "r": 205,
    "g": 135,
    "b": 189
  },
  "hsl": {
    "h": 313.714,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71168,
    "c": 0.1105,
    "h": 335.4
  },
  "luminance": 0.33981
}

Semantic roles & 50–950 ramp

primary
#CD87BD
secondary
#CDE3D2
accent
#B44F31
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#151014
muted
#837F82

Preview Lab

Preview with #CD87BD

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

Preview Lab → · Contrast checker → · Palette generator →

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