#CD87C0#CD87C0

#CD87C0 is a light, moderate pink. Relative luminance 0.341; OKLCH L 71.3% C 0.113 H 333.6°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#CD87C0
RGBrgb(205, 135, 192)
HSLhsl(311, 41%, 67%)
HSVhsv(311, 34%, 80%)
CMYKcmyk(0%, 34.1%, 6.3%, 19.6%)
CIE-LABlab(65.05, 35.52, -18.72)
CIE-LCHlch(65.05, 40.15, 332.21°)
OKLaboklab(71.28% 0.1013 -0.0503)
OKLCHoklch(71.28% 0.113 333.6)
XYZxyz(43.3548, 34.1148, 54.1601)
Luminance0.3411 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD87C0 #87CD94
analogous
#B787CD #CD87C0 #CD879D
triadic
#CD87C0 #C0CD87 #87C0CD
tetradic
#CD87C0 #CDB787 #87CD94 #879DCD
square
#CD87C0 #CDB787 #87CD94 #879DCD
split-complementary
#CD87C0 #9DCD87 #87CDB7
monochromatic
#9A4089 #BB5CA9 #CD87C0 #DFB2D7 #F1DDED

Accessibility & contrast

On white

2.68
#CD87C0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#CD87C0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD87C0
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD87C0#FFFFFF#000000##000000
##CD87C01.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8698C2
Deuteranopia (green-blind)
#98A2BE
Tritanopia (blue-blind)
#D38A9C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd87c0;
/* rgb */ color: rgb(205, 135, 192);
/* oklch */ color: oklch(71.3% 0.113 333.6);
Tailwind
colors: {
  custom: {
    50: '#ddabd3',
    500: '#cd87c0',
    950: '#000000',
  },
}
SCSS
$custom: #cd87c0;
$custom-light: #ddabd3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd87c0",
  "rgb": {
    "r": 205,
    "g": 135,
    "b": 192
  },
  "hsl": {
    "h": 311.143,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71282,
    "c": 0.11313,
    "h": 333.6
  },
  "luminance": 0.34113
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD87C0

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

Preview Lab → · Contrast checker → · Palette generator →

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