#CD87D5#CD87D5

#CD87D5 is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.1% C 0.133 H 323.2°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#CD87D5
RGBrgb(205, 135, 213)
HSLhsl(294, 48%, 68%)
HSVhsv(294, 37%, 84%)
CMYKcmyk(3.8%, 36.6%, 0%, 16.5%)
CIE-LABlab(65.84, 39.39, -29.27)
CIE-LCHlch(65.84, 49.08, 323.39°)
OKLaboklab(72.13% 0.1068 -0.0799)
OKLCHoklch(72.13% 0.133 323.2)
XYZxyz(45.8498, 35.1128, 67.3002)
Luminance0.3511 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD87D5 #8FD587
analogous
#A687D5 #CD87D5 #D587B6
triadic
#CD87D5 #D5CD87 #87D5CD
tetradic
#CD87D5 #D5A687 #8FD587 #87B6D5
square
#CD87D5 #D5A687 #8FD587 #87B6D5
split-complementary
#CD87D5 #B6D587 #87D5A6
monochromatic
#9C3AA7 #BA5AC5 #CD87D5 #E0B4E5 #F3E2F5

Accessibility & contrast

On white

2.62
#CD87D5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#CD87D5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD87D5
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD87D5#FFFFFF#000000##000000
##CD87D51.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9BD8
Deuteranopia (green-blind)
#91A3D2
Tritanopia (blue-blind)
#D08FA4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cd87d5;
/* rgb */ color: rgb(205, 135, 213);
/* oklch */ color: oklch(72.1% 0.133 323.2);
Tailwind
colors: {
  custom: {
    50: '#ddabe2',
    500: '#cd87d5',
    950: '#000000',
  },
}
SCSS
$custom: #cd87d5;
$custom-light: #ddabe2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd87d5",
  "rgb": {
    "r": 205,
    "g": 135,
    "b": 213
  },
  "hsl": {
    "h": 293.846,
    "s": 48.148,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72132,
    "c": 0.13342,
    "h": 323.2
  },
  "luminance": 0.35111
}

Semantic roles & 50–950 ramp

primary
#CD87D5
secondary
#D2E8D0
accent
#BB2A39
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CD87D5

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

Preview Lab → · Contrast checker → · Palette generator →

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