#CE87CE#CE87CE

#CE87CE is a light, vivid purple. Relative luminance 0.349; OKLCH L 71.9% C 0.127 H 326.8°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#CE87CE
RGBrgb(206, 135, 206)
HSLhsl(300, 42%, 67%)
HSVhsv(300, 34%, 81%)
CMYKcmyk(0%, 34.5%, 0%, 19.2%)
CIE-LABlab(65.68, 38.38, -25.60)
CIE-LCHlch(65.68, 46.14, 326.30°)
OKLaboklab(71.95% 0.1063 -0.0695)
OKLCHoklch(71.95% 0.127 326.8)
XYZxyz(45.2572, 34.9078, 62.7345)
Luminance0.3491 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE87CE #87CE87
analogous
#AB87CE #CE87CE #CE87AB
triadic
#CE87CE #CECE87 #87CECE
tetradic
#CE87CE #CEAB87 #87CE87 #87ABCE
square
#CE87CE #CEAB87 #87CE87 #87ABCE
split-complementary
#CE87CE #ABCE87 #87CEAB
monochromatic
#9B3F9B #BC5CBC #CE87CE #E0B2E0 #F1DEF1

Accessibility & contrast

On white

2.63
#CE87CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#CE87CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE87CE
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE87CE#FFFFFF#000000##000000
##CE87CE1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#829AD1
Deuteranopia (green-blind)
#94A3CC
Tritanopia (blue-blind)
#D28DA1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ce87ce;
/* rgb */ color: rgb(206, 135, 206);
/* oklch */ color: oklch(71.9% 0.127 326.8);
Tailwind
colors: {
  custom: {
    50: '#deabdd',
    500: '#ce87ce',
    950: '#000000',
  },
}
SCSS
$custom: #ce87ce;
$custom-light: #deabdd;
$custom-dark: #000000;
JSON
{
  "hex": "#ce87ce",
  "rgb": {
    "r": 206,
    "g": 135,
    "b": 206
  },
  "hsl": {
    "h": 300,
    "s": 42.012,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71947,
    "c": 0.12701,
    "h": 326.8
  },
  "luminance": 0.34906
}

Semantic roles & 50–950 ramp

primary
#CE87CE
secondary
#CDE4CD
accent
#B53030
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CE87CE

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

Preview Lab → · Contrast checker → · Palette generator →

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