#CD87C3#CD87C3

#CD87C3 is a light, moderate purple. Relative luminance 0.342; OKLCH L 71.4% C 0.116 H 331.9°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#CD87C3
RGBrgb(205, 135, 195)
HSLhsl(309, 41%, 67%)
HSVhsv(309, 34%, 80%)
CMYKcmyk(0%, 34.1%, 4.9%, 19.6%)
CIE-LABlab(65.16, 36.05, -20.24)
CIE-LCHlch(65.16, 41.35, 330.69°)
OKLaboklab(71.4% 0.1022 -0.0545)
OKLCHoklch(71.4% 0.116 331.9)
XYZxyz(43.6906, 34.2491, 55.9285)
Luminance0.3425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD87C3 #87CD91
analogous
#B487CD #CD87C3 #CD87A0
triadic
#CD87C3 #C3CD87 #87C3CD
tetradic
#CD87C3 #CDB487 #87CD91 #87A0CD
square
#CD87C3 #CDB487 #87CD91 #87A0CD
split-complementary
#CD87C3 #A0CD87 #87CDB4
monochromatic
#9A408D #BB5CAD #CD87C3 #DFB2D9 #F1DDEE

Accessibility & contrast

On white

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

On black

7.85
#CD87C3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD87C3
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD87C3#FFFFFF#000000##000000
##CD87C31.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8598C5
Deuteranopia (green-blind)
#97A2C1
Tritanopia (blue-blind)
#D38B9D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd87c3;
/* rgb */ color: rgb(205, 135, 195);
/* oklch */ color: oklch(71.4% 0.116 331.9);
Tailwind
colors: {
  custom: {
    50: '#ddabd5',
    500: '#cd87c3',
    950: '#000000',
  },
}
SCSS
$custom: #cd87c3;
$custom-light: #ddabd5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd87c3",
  "rgb": {
    "r": 205,
    "g": 135,
    "b": 195
  },
  "hsl": {
    "h": 308.571,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71397,
    "c": 0.11582,
    "h": 331.9
  },
  "luminance": 0.34247
}

Semantic roles & 50–950 ramp

primary
#CD87C3
secondary
#CDE3D0
accent
#B44431
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83

Preview Lab

Preview with #CD87C3

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

Preview Lab → · Contrast checker → · Palette generator →

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