#CE87DA#CE87DA

#CE87DA is a light, vivid purple. Relative luminance 0.355; OKLCH L 72.5% C 0.139 H 321.6°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#CE87DA
RGBrgb(206, 135, 218)
HSLhsl(291, 53%, 69%)
HSVhsv(291, 38%, 85%)
CMYKcmyk(5.5%, 38.1%, 0%, 14.5%)
CIE-LABlab(66.15, 40.67, -31.56)
CIE-LCHlch(66.15, 51.48, 322.18°)
OKLaboklab(72.46% 0.1091 -0.0864)
OKLCHoklch(72.46% 0.139 321.6)
XYZxyz(46.7710, 35.5133, 70.7071)
Luminance0.3551 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE87DA #93DA87
analogous
#A587DA #CE87DA #DA87BD
triadic
#CE87DA #DACE87 #87DACE
tetradic
#CE87DA #DAA587 #93DA87 #87BDDA
square
#CE87DA #DAA587 #93DA87 #87BDDA
split-complementary
#CE87DA #BDDA87 #87DAA5
monochromatic
#9F36B0 #BB58CC #CE87DA #E1B6E8 #F4E5F7

Accessibility & contrast

On white

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

On black

8.10
#CE87DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE87DA
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE87DA#FFFFFF#000000##000000
##CE87DA1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9CDD
Deuteranopia (green-blind)
#8FA4D7
Tritanopia (blue-blind)
#D090A6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ce87da;
/* rgb */ color: rgb(206, 135, 218);
/* oklch */ color: oklch(72.5% 0.139 321.6);
Tailwind
colors: {
  custom: {
    50: '#deabe5',
    500: '#ce87da',
    950: '#000000',
  },
}
SCSS
$custom: #ce87da;
$custom-light: #deabe5;
$custom-dark: #000000;
JSON
{
  "hex": "#ce87da",
  "rgb": {
    "r": 206,
    "g": 135,
    "b": 218
  },
  "hsl": {
    "h": 291.325,
    "s": 52.866,
    "l": 69.216
  },
  "oklch": {
    "l": 0.72455,
    "c": 0.13921,
    "h": 321.6
  },
  "luminance": 0.35512
}

Semantic roles & 50–950 ramp

primary
#CE87DA
secondary
#D6EAD2
accent
#C0253C
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CE87DA

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

Preview Lab → · Contrast checker → · Palette generator →

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