#CD87D3#CD87D3

#CD87D3 is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.0% C 0.131 H 324.0°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#CD87D3
RGBrgb(205, 135, 211)
HSLhsl(295, 46%, 68%)
HSVhsv(295, 36%, 83%)
CMYKcmyk(2.8%, 36%, 0%, 17.3%)
CIE-LABlab(65.76, 39.01, -28.28)
CIE-LCHlch(65.76, 48.18, 324.06°)
OKLaboklab(72.05% 0.1064 -0.0771)
OKLCHoklch(72.05% 0.131 324)
XYZxyz(45.5975, 35.0119, 65.9715)
Luminance0.3501 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD87D3 #8DD387
analogous
#A787D3 #CD87D3 #D387B3
triadic
#CD87D3 #D3CD87 #87D3CD
tetradic
#CD87D3 #D3A787 #8DD387 #87B3D3
square
#CD87D3 #D3A787 #8DD387 #87B3D3
split-complementary
#CD87D3 #B3D387 #87D3A7
monochromatic
#9B3CA4 #BA5AC3 #CD87D3 #E0B4E3 #F2E1F4

Accessibility & contrast

On white

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

On black

8.00
#CD87D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD87D3
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD87D3#FFFFFF#000000##000000
##CD87D31.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#809AD6
Deuteranopia (green-blind)
#91A3D1
Tritanopia (blue-blind)
#D08FA3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cd87d3;
/* rgb */ color: rgb(205, 135, 211);
/* oklch */ color: oklch(72.0% 0.131 324.0);
Tailwind
colors: {
  custom: {
    50: '#ddabe0',
    500: '#cd87d3',
    950: '#000000',
  },
}
SCSS
$custom: #cd87d3;
$custom-light: #ddabe0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd87d3",
  "rgb": {
    "r": 205,
    "g": 135,
    "b": 211
  },
  "hsl": {
    "h": 295.263,
    "s": 46.341,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72047,
    "c": 0.13137,
    "h": 324
  },
  "luminance": 0.3501
}

Semantic roles & 50–950 ramp

primary
#CD87D3
secondary
#D1E7CF
accent
#BA2C37
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CD87D3

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

Preview Lab → · Contrast checker → · Palette generator →

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