#CE87CC#CE87CC

#CE87CC is a light, vivid purple. Relative luminance 0.348; OKLCH L 71.9% C 0.125 H 327.7°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#CE87CC
RGBrgb(206, 135, 204)
HSLhsl(302, 42%, 67%)
HSVhsv(302, 34%, 81%)
CMYKcmyk(0%, 34.5%, 1%, 19.2%)
CIE-LABlab(65.60, 38.01, -24.60)
CIE-LCHlch(65.60, 45.28, 327.09°)
OKLaboklab(71.86% 0.1058 -0.0667)
OKLCHoklch(71.86% 0.125 327.7)
XYZxyz(45.0158, 34.8112, 61.4631)
Luminance0.3481 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE87CC #87CE89
analogous
#AD87CE #CE87CC #CE87A9
triadic
#CE87CC #CCCE87 #87CCCE
tetradic
#CE87CC #CEAD87 #87CE89 #87A9CE
square
#CE87CC #CEAD87 #87CE89 #87A9CE
split-complementary
#CE87CC #A9CE87 #87CEAD
monochromatic
#9B3F99 #BC5CBA #CE87CC #E0B2DE #F1DEF1

Accessibility & contrast

On white

2.64
#CE87CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#CE87CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE87CC
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE87CC#FFFFFF#000000##000000
##CE87CC1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#839ACF
Deuteranopia (green-blind)
#94A3CA
Tritanopia (blue-blind)
#D38DA0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ce87cc;
/* rgb */ color: rgb(206, 135, 204);
/* oklch */ color: oklch(71.9% 0.125 327.7);
Tailwind
colors: {
  custom: {
    50: '#deabdb',
    500: '#ce87cc',
    950: '#000000',
  },
}
SCSS
$custom: #ce87cc;
$custom-light: #deabdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ce87cc",
  "rgb": {
    "r": 206,
    "g": 135,
    "b": 204
  },
  "hsl": {
    "h": 301.69,
    "s": 42.012,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71865,
    "c": 0.12505,
    "h": 327.7
  },
  "luminance": 0.34809
}

Semantic roles & 50–950 ramp

primary
#CE87CC
secondary
#CDE4CE
accent
#B53430
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CE87CC

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

Preview Lab → · Contrast checker → · Palette generator →

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