#CE87F0#CE87F0

#CE87F0 is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.5% C 0.163 H 314.1°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#CE87F0
RGBrgb(206, 135, 240)
HSLhsl(281, 78%, 74%)
HSVhsv(281, 44%, 94%)
CMYKcmyk(14.2%, 43.8%, 0%, 5.9%)
CIE-LABlab(67.08, 45.09, -42.26)
CIE-LCHlch(67.08, 61.80, 316.85°)
OKLaboklab(73.47% 0.1134 -0.1171)
OKLCHoklch(73.47% 0.163 314.1)
XYZxyz(49.8432, 36.7422, 86.8875)
Luminance0.3674 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE87F0 #A9F087
analogous
#9987F0 #CE87F0 #F087DE
triadic
#CE87F0 #F0CE87 #87F0CE
tetradic
#CE87F0 #F09987 #A9F087 #87DEF0
square
#CE87F0 #F09987 #A9F087 #87DEF0
split-complementary
#CE87F0 #DEF087 #87F099
monochromatic
#A11CE1 #B851E9 #CE87F0 #E4BDF7 #F4E4FC

Accessibility & contrast

On white

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

On black

8.35
#CE87F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE87F0
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE87F0#FFFFFF#000000##000000
##CE87F01.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#739FF4
Deuteranopia (green-blind)
#86A5ED
Tritanopia (blue-blind)
#CC96B0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ce87f0;
/* rgb */ color: rgb(206, 135, 240);
/* oklch */ color: oklch(73.5% 0.163 314.1);
Tailwind
colors: {
  custom: {
    50: '#dfabf5',
    500: '#ce87f0',
    950: '#000000',
  },
}
SCSS
$custom: #ce87f0;
$custom-light: #dfabf5;
$custom-dark: #000000;
JSON
{
  "hex": "#ce87f0",
  "rgb": {
    "r": 206,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 280.571,
    "s": 77.778,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73466,
    "c": 0.163,
    "h": 314.1
  },
  "luminance": 0.36741
}

Semantic roles & 50–950 ramp

primary
#CE87F0
secondary
#E1F3D8
accent
#DA0B4E
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CE87F0

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

Preview Lab → · Contrast checker → · Palette generator →

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