#CD87CE#CD87CE

#CD87CE is a light, vivid purple. Relative luminance 0.348; OKLCH L 71.8% C 0.126 H 326.3°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#CD87CE
RGBrgb(205, 135, 206)
HSLhsl(299, 42%, 67%)
HSVhsv(299, 34%, 81%)
CMYKcmyk(0.5%, 34.5%, 0%, 19.2%)
CIE-LABlab(65.57, 38.07, -25.78)
CIE-LCHlch(65.57, 45.98, 325.89°)
OKLaboklab(71.84% 0.1051 -0.0701)
OKLCHoklch(71.84% 0.126 326.3)
XYZxyz(44.9804, 34.7651, 62.7215)
Luminance0.3476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD87CE #88CE87
analogous
#AA87CE #CD87CE #CE87AC
triadic
#CD87CE #CECD87 #87CECD
tetradic
#CD87CE #CEAA87 #88CE87 #87ACCE
square
#CD87CE #CEAA87 #88CE87 #87ACCE
split-complementary
#CD87CE #ACCE87 #87CEAA
monochromatic
#9A3F9B #BB5CBC #CD87CE #DFB2E0 #F1DEF1

Accessibility & contrast

On white

2.64
#CD87CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#CD87CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD87CE
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD87CE#FFFFFF#000000##000000
##CD87CE1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#829AD1
Deuteranopia (green-blind)
#93A2CC
Tritanopia (blue-blind)
#D18EA1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cd87ce;
/* rgb */ color: rgb(205, 135, 206);
/* oklch */ color: oklch(71.8% 0.126 326.3);
Tailwind
colors: {
  custom: {
    50: '#ddabdd',
    500: '#cd87ce',
    950: '#000000',
  },
}
SCSS
$custom: #cd87ce;
$custom-light: #ddabdd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd87ce",
  "rgb": {
    "r": 205,
    "g": 135,
    "b": 206
  },
  "hsl": {
    "h": 299.155,
    "s": 42.012,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71838,
    "c": 0.12634,
    "h": 326.3
  },
  "luminance": 0.34763
}

Semantic roles & 50–950 ramp

primary
#CD87CE
secondary
#CDE4CD
accent
#B53032
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CD87CE

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

Preview Lab → · Contrast checker → · Palette generator →

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