#CD87C8#CD87C8

#CD87C8 is a light, vivid purple. Relative luminance 0.345; OKLCH L 71.6% C 0.120 H 329.3°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#CD87C8
RGBrgb(205, 135, 200)
HSLhsl(304, 41%, 67%)
HSVhsv(304, 34%, 80%)
CMYKcmyk(0%, 34.1%, 2.4%, 19.6%)
CIE-LABlab(65.34, 36.96, -22.77)
CIE-LCHlch(65.34, 43.41, 328.36°)
OKLaboklab(71.59% 0.1036 -0.0616)
OKLCHoklch(71.59% 0.12 329.3)
XYZxyz(44.2654, 34.4791, 58.9558)
Luminance0.3448 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD87C8 #87CD8C
analogous
#AF87CD #CD87C8 #CD87A5
triadic
#CD87C8 #C8CD87 #87C8CD
tetradic
#CD87C8 #CDAF87 #87CD8C #87A5CD
square
#CD87C8 #CDAF87 #87CD8C #87A5CD
split-complementary
#CD87C8 #A5CD87 #87CDAF
monochromatic
#9A4093 #BB5CB4 #CD87C8 #DFB2DC #F1DDF0

Accessibility & contrast

On white

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

On black

7.90
#CD87C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD87C8
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD87C8#FFFFFF#000000##000000
##CD87C81.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8499CA
Deuteranopia (green-blind)
#95A2C6
Tritanopia (blue-blind)
#D28C9F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cd87c8;
/* rgb */ color: rgb(205, 135, 200);
/* oklch */ color: oklch(71.6% 0.120 329.3);
Tailwind
colors: {
  custom: {
    50: '#ddabd8',
    500: '#cd87c8',
    950: '#000000',
  },
}
SCSS
$custom: #cd87c8;
$custom-light: #ddabd8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd87c8",
  "rgb": {
    "r": 205,
    "g": 135,
    "b": 200
  },
  "hsl": {
    "h": 304.286,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71594,
    "c": 0.12049,
    "h": 329.3
  },
  "luminance": 0.34477
}

Semantic roles & 50–950 ramp

primary
#CD87C8
secondary
#CDE3CE
accent
#B43B31
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83

Preview Lab

Preview with #CD87C8

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

Preview Lab → · Contrast checker → · Palette generator →

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