#CE87F1#CE87F1

#CE87F1 is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.5% C 0.164 H 313.8°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#CE87F1
RGBrgb(206, 135, 241)
HSLhsl(280, 79%, 74%)
HSVhsv(280, 44%, 95%)
CMYKcmyk(14.5%, 44%, 0%, 5.5%)
CIE-LABlab(67.13, 45.30, -42.74)
CIE-LCHlch(67.13, 62.28, 316.66°)
OKLaboklab(73.51% 0.1135 -0.1185)
OKLCHoklch(73.51% 0.164 313.8)
XYZxyz(49.9922, 36.8018, 87.6720)
Luminance0.3680 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE87F1 #AAF187
analogous
#9987F1 #CE87F1 #F187DF
triadic
#CE87F1 #F1CE87 #87F1CE
tetradic
#CE87F1 #F19987 #AAF187 #87DFF1
square
#CE87F1 #F19987 #AAF187 #87DFF1
split-complementary
#CE87F1 #DFF187 #87F199
monochromatic
#A11AE3 #B850EB #CE87F1 #E4BEF7 #F4E4FC

Accessibility & contrast

On white

2.51
#CE87F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#CE87F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE87F1
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE87F1#FFFFFF#000000##000000
##CE87F11.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#729FF5
Deuteranopia (green-blind)
#85A5EE
Tritanopia (blue-blind)
#CB96B1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ce87f1;
/* rgb */ color: rgb(206, 135, 241);
/* oklch */ color: oklch(73.5% 0.164 313.8);
Tailwind
colors: {
  custom: {
    50: '#dfabf6',
    500: '#ce87f1',
    950: '#000000',
  },
}
SCSS
$custom: #ce87f1;
$custom-light: #dfabf6;
$custom-dark: #000000;
JSON
{
  "hex": "#ce87f1",
  "rgb": {
    "r": 206,
    "g": 135,
    "b": 241
  },
  "hsl": {
    "h": 280.189,
    "s": 79.104,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73514,
    "c": 0.1641,
    "h": 313.8
  },
  "luminance": 0.36801
}

Semantic roles & 50–950 ramp

primary
#CE87F1
secondary
#E1F4D7
accent
#DB0A4F
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CE87F1

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

Preview Lab → · Contrast checker → · Palette generator →

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