#CE87CD#CE87CD

#CE87CD is a light, vivid purple. Relative luminance 0.349; OKLCH L 71.9% C 0.126 H 327.3°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#CE87CD
RGBrgb(206, 135, 205)
HSLhsl(301, 42%, 67%)
HSVhsv(301, 34%, 81%)
CMYKcmyk(0%, 34.5%, 0.5%, 19.2%)
CIE-LABlab(65.64, 38.20, -25.10)
CIE-LCHlch(65.64, 45.71, 326.69°)
OKLaboklab(71.91% 0.106 -0.0681)
OKLCHoklch(71.91% 0.126 327.3)
XYZxyz(45.1361, 34.8594, 62.0967)
Luminance0.3486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE87CD #87CE88
analogous
#AC87CE #CE87CD #CE87AA
triadic
#CE87CD #CDCE87 #87CDCE
tetradic
#CE87CD #CEAC87 #87CE88 #87AACE
square
#CE87CD #CEAC87 #87CE88 #87AACE
split-complementary
#CE87CD #AACE87 #87CEAC
monochromatic
#9B3F9A #BC5CBB #CE87CD #E0B2DF #F1DEF1

Accessibility & contrast

On white

2.63
#CE87CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#CE87CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE87CD
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE87CD#FFFFFF#000000##000000
##CE87CD1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#829AD0
Deuteranopia (green-blind)
#94A3CB
Tritanopia (blue-blind)
#D28DA1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ce87cd;
/* rgb */ color: rgb(206, 135, 205);
/* oklch */ color: oklch(71.9% 0.126 327.3);
Tailwind
colors: {
  custom: {
    50: '#deabdc',
    500: '#ce87cd',
    950: '#000000',
  },
}
SCSS
$custom: #ce87cd;
$custom-light: #deabdc;
$custom-dark: #000000;
JSON
{
  "hex": "#ce87cd",
  "rgb": {
    "r": 206,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 300.845,
    "s": 42.012,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71906,
    "c": 0.12602,
    "h": 327.3
  },
  "luminance": 0.34858
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE87CD

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

Preview Lab → · Contrast checker → · Palette generator →

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