#CE87DF#CE87DF

#CE87DF is a light, vivid purple. Relative luminance 0.358; OKLCH L 72.7% C 0.144 H 319.7°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#CE87DF
RGBrgb(206, 135, 223)
HSLhsl(288, 58%, 70%)
HSVhsv(288, 39%, 87%)
CMYKcmyk(7.6%, 39.5%, 0%, 12.5%)
CIE-LABlab(66.35, 41.64, -34.02)
CIE-LCHlch(66.35, 53.77, 320.75°)
OKLaboklab(72.68% 0.1102 -0.0934)
OKLCHoklch(72.68% 0.144 319.7)
XYZxyz(47.4351, 35.7790, 74.2050)
Luminance0.3578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE87DF #98DF87
analogous
#A287DF #CE87DF #DF87C4
triadic
#CE87DF #DFCE87 #87DFCE
tetradic
#CE87DF #DFA287 #98DF87 #87C4DF
square
#CE87DF #DFA287 #98DF87 #87C4DF
split-complementary
#CE87DF #C4DF87 #87DFA2
monochromatic
#A032BA #BA57D2 #CE87DF #E2B7EC #F5E7F9

Accessibility & contrast

On white

2.57
#CE87DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#CE87DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE87DF
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE87DF#FFFFFF#000000##000000
##CE87DF1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9CE2
Deuteranopia (green-blind)
#8DA4DC
Tritanopia (blue-blind)
#CF92A9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ce87df;
/* rgb */ color: rgb(206, 135, 223);
/* oklch */ color: oklch(72.7% 0.144 319.7);
Tailwind
colors: {
  custom: {
    50: '#deabe9',
    500: '#ce87df',
    950: '#000000',
  },
}
SCSS
$custom: #ce87df;
$custom-light: #deabe9;
$custom-dark: #000000;
JSON
{
  "hex": "#ce87df",
  "rgb": {
    "r": 206,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 288.409,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.72676,
    "c": 0.14449,
    "h": 319.7
  },
  "luminance": 0.35777
}

Semantic roles & 50–950 ramp

primary
#CE87DF
secondary
#D9EDD5
accent
#C52040
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CE87DF

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

Preview Lab → · Contrast checker → · Palette generator →

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