#CE87EE#CE87EE

#CE87EE is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.4% C 0.161 H 314.7°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#CE87EE
RGBrgb(206, 135, 238)
HSLhsl(281, 75%, 73%)
HSVhsv(281, 43%, 93%)
CMYKcmyk(13.4%, 43.3%, 0%, 6.7%)
CIE-LABlab(66.99, 44.67, -41.30)
CIE-LCHlch(66.99, 60.84, 317.25°)
OKLaboklab(73.37% 0.113 -0.1143)
OKLCHoklch(73.37% 0.161 314.7)
XYZxyz(49.5477, 36.6240, 85.3314)
Luminance0.3662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE87EE #A7EE87
analogous
#9A87EE #CE87EE #EE87DA
triadic
#CE87EE #EECE87 #87EECE
tetradic
#CE87EE #EE9A87 #A7EE87 #87DAEE
square
#CE87EE #EE9A87 #A7EE87 #87DAEE
split-complementary
#CE87EE #DAEE87 #87EE9A
monochromatic
#A11FDC #B851E6 #CE87EE #E4BDF6 #F4E4FB

Accessibility & contrast

On white

2.52
#CE87EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#CE87EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE87EE
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE87EE#FFFFFF#000000##000000
##CE87EE1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#749FF2
Deuteranopia (green-blind)
#86A5EB
Tritanopia (blue-blind)
#CC96AF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ce87ee;
/* rgb */ color: rgb(206, 135, 238);
/* oklch */ color: oklch(73.4% 0.161 314.7);
Tailwind
colors: {
  custom: {
    50: '#deabf4',
    500: '#ce87ee',
    950: '#000000',
  },
}
SCSS
$custom: #ce87ee;
$custom-light: #deabf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ce87ee",
  "rgb": {
    "r": 206,
    "g": 135,
    "b": 238
  },
  "hsl": {
    "h": 281.359,
    "s": 75.182,
    "l": 73.137
  },
  "oklch": {
    "l": 0.7337,
    "c": 0.16078,
    "h": 314.7
  },
  "luminance": 0.36623
}

Semantic roles & 50–950 ramp

primary
#CE87EE
secondary
#E0F3D8
accent
#D70E4D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CE87EE

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

Preview Lab → · Contrast checker → · Palette generator →

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