#CE87ED#CE87ED

#CE87ED is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.3% C 0.160 H 315.0°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#CE87ED
RGBrgb(206, 135, 237)
HSLhsl(282, 74%, 73%)
HSVhsv(282, 43%, 93%)
CMYKcmyk(13.1%, 43%, 0%, 7.1%)
CIE-LABlab(66.95, 44.47, -40.82)
CIE-LCHlch(66.95, 60.36, 317.45°)
OKLaboklab(73.32% 0.1129 -0.113)
OKLCHoklch(73.32% 0.16 315)
XYZxyz(49.4012, 36.5654, 84.5598)
Luminance0.3656 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE87ED #A6ED87
analogous
#9B87ED #CE87ED #ED87D9
triadic
#CE87ED #EDCE87 #87EDCE
tetradic
#CE87ED #ED9B87 #A6ED87 #87D9ED
square
#CE87ED #ED9B87 #A6ED87 #87D9ED
split-complementary
#CE87ED #D9ED87 #87ED9B
monochromatic
#A121D9 #B852E5 #CE87ED #E4BCF5 #F4E4FB

Accessibility & contrast

On white

2.53
#CE87ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#CE87ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE87ED
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE87ED#FFFFFF#000000##000000
##CE87ED1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#749FF1
Deuteranopia (green-blind)
#87A5EA
Tritanopia (blue-blind)
#CC95AF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ce87ed;
/* rgb */ color: rgb(206, 135, 237);
/* oklch */ color: oklch(73.3% 0.160 315.0);
Tailwind
colors: {
  custom: {
    50: '#deabf3',
    500: '#ce87ed',
    950: '#000000',
  },
}
SCSS
$custom: #ce87ed;
$custom-light: #deabf3;
$custom-dark: #000000;
JSON
{
  "hex": "#ce87ed",
  "rgb": {
    "r": 206,
    "g": 135,
    "b": 237
  },
  "hsl": {
    "h": 281.765,
    "s": 73.913,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73322,
    "c": 0.15968,
    "h": 315
  },
  "luminance": 0.36564
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE87ED

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

Preview Lab → · Contrast checker → · Palette generator →

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