#CE87CA#CE87CA

#CE87CA is a light, vivid purple. Relative luminance 0.347; OKLCH L 71.8% C 0.123 H 328.7°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#CE87CA
RGBrgb(206, 135, 202)
HSLhsl(303, 42%, 67%)
HSVhsv(303, 34%, 81%)
CMYKcmyk(0%, 34.5%, 1.9%, 19.2%)
CIE-LABlab(65.53, 37.65, -23.59)
CIE-LCHlch(65.53, 44.43, 327.92°)
OKLaboklab(71.78% 0.1052 -0.0639)
OKLCHoklch(71.78% 0.123 328.7)
XYZxyz(44.7775, 34.7159, 60.2078)
Luminance0.3471 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE87CA #87CE8B
analogous
#AF87CE #CE87CA #CE87A7
triadic
#CE87CA #CACE87 #87CACE
tetradic
#CE87CA #CEAF87 #87CE8B #87A7CE
square
#CE87CA #CEAF87 #87CE8B #87A7CE
split-complementary
#CE87CA #A7CE87 #87CEAF
monochromatic
#9B3F96 #BC5CB7 #CE87CA #E0B2DD #F1DEF0

Accessibility & contrast

On white

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

On black

7.94
#CE87CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE87CA
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE87CA#FFFFFF#000000##000000
##CE87CA1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8399CD
Deuteranopia (green-blind)
#95A3C8
Tritanopia (blue-blind)
#D38CA0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ce87ca;
/* rgb */ color: rgb(206, 135, 202);
/* oklch */ color: oklch(71.8% 0.123 328.7);
Tailwind
colors: {
  custom: {
    50: '#deabda',
    500: '#ce87ca',
    950: '#000000',
  },
}
SCSS
$custom: #ce87ca;
$custom-light: #deabda;
$custom-dark: #000000;
JSON
{
  "hex": "#ce87ca",
  "rgb": {
    "r": 206,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 303.38,
    "s": 42.012,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71784,
    "c": 0.12312,
    "h": 328.7
  },
  "luminance": 0.34714
}

Semantic roles & 50–950 ramp

primary
#CE87CA
secondary
#CDE4CE
accent
#B53830
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83

Preview Lab

Preview with #CE87CA

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

Preview Lab → · Contrast checker → · Palette generator →

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