#CD87C7#CD87C7

#CD87C7 is a light, moderate purple. Relative luminance 0.344; OKLCH L 71.6% C 0.120 H 329.8°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#CD87C7
RGBrgb(205, 135, 199)
HSLhsl(305, 41%, 67%)
HSVhsv(305, 34%, 80%)
CMYKcmyk(0%, 34.1%, 2.9%, 19.6%)
CIE-LABlab(65.30, 36.78, -22.26)
CIE-LCHlch(65.30, 42.99, 328.81°)
OKLaboklab(71.55% 0.1033 -0.0602)
OKLCHoklch(71.55% 0.12 329.8)
XYZxyz(44.1489, 34.4325, 58.3423)
Luminance0.3443 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD87C7 #87CD8D
analogous
#B087CD #CD87C7 #CD87A4
triadic
#CD87C7 #C7CD87 #87C7CD
tetradic
#CD87C7 #CDB087 #87CD8D #87A4CD
square
#CD87C7 #CDB087 #87CD8D #87A4CD
split-complementary
#CD87C7 #A4CD87 #87CDB0
monochromatic
#9A4092 #BB5CB3 #CD87C7 #DFB2DB #F1DDEF

Accessibility & contrast

On white

2.66
#CD87C7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#CD87C7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD87C7
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD87C7#FFFFFF#000000##000000
##CD87C71.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8499C9
Deuteranopia (green-blind)
#95A2C5
Tritanopia (blue-blind)
#D28C9E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cd87c7;
/* rgb */ color: rgb(205, 135, 199);
/* oklch */ color: oklch(71.6% 0.120 329.8);
Tailwind
colors: {
  custom: {
    50: '#ddabd8',
    500: '#cd87c7',
    950: '#000000',
  },
}
SCSS
$custom: #cd87c7;
$custom-light: #ddabd8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd87c7",
  "rgb": {
    "r": 205,
    "g": 135,
    "b": 199
  },
  "hsl": {
    "h": 305.143,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71554,
    "c": 0.11955,
    "h": 329.8
  },
  "luminance": 0.34431
}

Semantic roles & 50–950 ramp

primary
#CD87C7
secondary
#CDE3CF
accent
#B43D31
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83

Preview Lab

Preview with #CD87C7

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

Preview Lab → · Contrast checker → · Palette generator →

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