#CE87D2#CE87D2

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

Color values

HEX#CE87D2
RGBrgb(206, 135, 210)
HSLhsl(297, 45%, 68%)
HSVhsv(297, 36%, 82%)
CMYKcmyk(1.9%, 35.7%, 0%, 17.6%)
CIE-LABlab(65.83, 39.13, -27.60)
CIE-LCHlch(65.83, 47.89, 324.81°)
OKLaboklab(72.11% 0.1073 -0.0752)
OKLCHoklch(72.11% 0.131 325)
XYZxyz(45.7493, 35.1046, 65.3263)
Luminance0.3510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE87D2 #8BD287
analogous
#A887D2 #CE87D2 #D287B0
triadic
#CE87D2 #D2CE87 #87D2CE
tetradic
#CE87D2 #D2A887 #8BD287 #87B0D2
square
#CE87D2 #D2A887 #8BD287 #87B0D2
split-complementary
#CE87D2 #B0D287 #87D2A8
monochromatic
#9C3DA2 #BC5AC1 #CE87D2 #E0B4E3 #F2E0F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CE87D2#FFFFFF#000000##000000
##CE87D21.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)
#809AD5
Deuteranopia (green-blind)
#92A3D0
Tritanopia (blue-blind)
#D28EA3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ce87d2;
/* rgb */ color: rgb(206, 135, 210);
/* oklch */ color: oklch(72.1% 0.131 325.0);
Tailwind
colors: {
  custom: {
    50: '#deabe0',
    500: '#ce87d2',
    950: '#000000',
  },
}
SCSS
$custom: #ce87d2;
$custom-light: #deabe0;
$custom-dark: #000000;
JSON
{
  "hex": "#ce87d2",
  "rgb": {
    "r": 206,
    "g": 135,
    "b": 210
  },
  "hsl": {
    "h": 296.8,
    "s": 45.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72113,
    "c": 0.13099,
    "h": 325
  },
  "luminance": 0.35103
}

Semantic roles & 50–950 ramp

primary
#CE87D2
secondary
#D0E6CF
accent
#B92D34
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CE87D2

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

Preview Lab → · Contrast checker → · Palette generator →

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