#CE87DB#CE87DB

#CE87DB is a light, vivid purple. Relative luminance 0.356; OKLCH L 72.5% C 0.140 H 321.2°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#CE87DB
RGBrgb(206, 135, 219)
HSLhsl(291, 54%, 69%)
HSVhsv(291, 38%, 86%)
CMYKcmyk(5.9%, 38.4%, 0%, 14.1%)
CIE-LABlab(66.19, 40.86, -32.05)
CIE-LCHlch(66.19, 51.93, 321.89°)
OKLaboklab(72.5% 0.1093 -0.0878)
OKLCHoklch(72.5% 0.14 321.2)
XYZxyz(46.9022, 35.5658, 71.3983)
Luminance0.3556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE87DB #94DB87
analogous
#A487DB #CE87DB #DB87BE
triadic
#CE87DB #DBCE87 #87DBCE
tetradic
#CE87DB #DBA487 #94DB87 #87BEDB
square
#CE87DB #DBA487 #94DB87 #87BEDB
split-complementary
#CE87DB #BEDB87 #87DBA4
monochromatic
#9F35B2 #BB58CD #CE87DB #E1B6E9 #F4E5F7

Accessibility & contrast

On white

2.59
#CE87DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#CE87DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE87DB
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE87DB#FFFFFF#000000##000000
##CE87DB1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9CDE
Deuteranopia (green-blind)
#8FA4D8
Tritanopia (blue-blind)
#D091A7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ce87db;
/* rgb */ color: rgb(206, 135, 219);
/* oklch */ color: oklch(72.5% 0.140 321.2);
Tailwind
colors: {
  custom: {
    50: '#deabe6',
    500: '#ce87db',
    950: '#000000',
  },
}
SCSS
$custom: #ce87db;
$custom-light: #deabe6;
$custom-dark: #000000;
JSON
{
  "hex": "#ce87db",
  "rgb": {
    "r": 206,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 290.714,
    "s": 53.846,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72499,
    "c": 0.14025,
    "h": 321.2
  },
  "luminance": 0.35564
}

Semantic roles & 50–950 ramp

primary
#CE87DB
secondary
#D7EBD3
accent
#C1243D
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CE87DB

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

Preview Lab → · Contrast checker → · Palette generator →

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