#CD87CA#CD87CA

#CD87CA is a light, vivid purple. Relative luminance 0.346; OKLCH L 71.7% C 0.122 H 328.2°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#CD87CA
RGBrgb(205, 135, 202)
HSLhsl(303, 41%, 67%)
HSVhsv(303, 34%, 80%)
CMYKcmyk(0%, 34.1%, 1.5%, 19.6%)
CIE-LABlab(65.42, 37.32, -23.78)
CIE-LCHlch(65.42, 44.25, 327.50°)
OKLaboklab(71.68% 0.1041 -0.0644)
OKLCHoklch(71.68% 0.122 328.2)
XYZxyz(44.5007, 34.5732, 60.1949)
Luminance0.3457 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD87CA #87CD8A
analogous
#AD87CD #CD87CA #CD87A7
triadic
#CD87CA #CACD87 #87CACD
tetradic
#CD87CA #CDAD87 #87CD8A #87A7CD
square
#CD87CA #CDAD87 #87CD8A #87A7CD
split-complementary
#CD87CA #A7CD87 #87CDAD
monochromatic
#9A4096 #BB5CB7 #CD87CA #DFB2DD #F1DDF0

Accessibility & contrast

On white

2.65
#CD87CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#CD87CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD87CA
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD87CA#FFFFFF#000000##000000
##CD87CA1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8399CD
Deuteranopia (green-blind)
#94A2C8
Tritanopia (blue-blind)
#D28DA0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cd87ca;
/* rgb */ color: rgb(205, 135, 202);
/* oklch */ color: oklch(71.7% 0.122 328.2);
Tailwind
colors: {
  custom: {
    50: '#ddabda',
    500: '#cd87ca',
    950: '#000000',
  },
}
SCSS
$custom: #cd87ca;
$custom-light: #ddabda;
$custom-dark: #000000;
JSON
{
  "hex": "#cd87ca",
  "rgb": {
    "r": 205,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 302.571,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71675,
    "c": 0.12242,
    "h": 328.2
  },
  "luminance": 0.34571
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD87CA

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

Preview Lab → · Contrast checker → · Palette generator →

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