#DE87F9#DE87F9

#DE87F9 is a light, vivid purple. Relative luminance 0.397; OKLCH L 75.6% C 0.180 H 317.8°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#DE87F9
RGBrgb(222, 135, 249)
HSLhsl(286, 90%, 75%)
HSVhsv(286, 46%, 98%)
CMYKcmyk(10.8%, 45.8%, 0%, 2.4%)
CIE-LABlab(69.25, 51.40, -43.66)
CIE-LCHlch(69.25, 67.44, 319.65°)
OKLaboklab(75.61% 0.1333 -0.1208)
OKLCHoklch(75.61% 0.18 317.8)
XYZxyz(55.8847, 39.6989, 94.3230)
Luminance0.3970 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE87F9 #A2F987
analogous
#A587F9 #DE87F9 #F987DB
triadic
#DE87F9 #F9DE87 #87F9DE
tetradic
#DE87F9 #F9A587 #A2F987 #87DBF9
square
#DE87F9 #F9A587 #A2F987 #87DBF9
split-complementary
#DE87F9 #DBF987 #87F9A5
monochromatic
#BE12F3 #CE4DF6 #DE87F9 #EEC1FC #F7E2FE

Accessibility & contrast

On white

2.35
#DE87F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#DE87F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE87F9
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE87F9#FFFFFF#000000##000000
##DE87F91.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A3FD
Deuteranopia (green-blind)
#8CACF6
Tritanopia (blue-blind)
#DE97B4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #de87f9;
/* rgb */ color: rgb(222, 135, 249);
/* oklch */ color: oklch(75.6% 0.180 317.8);
Tailwind
colors: {
  custom: {
    50: '#eaacfb',
    500: '#de87f9',
    950: '#000000',
  },
}
SCSS
$custom: #de87f9;
$custom-light: #eaacfb;
$custom-dark: #000000;
JSON
{
  "hex": "#de87f9",
  "rgb": {
    "r": 222,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 285.789,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.7561,
    "c": 0.17991,
    "h": 317.8
  },
  "luminance": 0.39697
}

Semantic roles & 50–950 ramp

primary
#DE87F9
secondary
#DDF6D5
accent
#E60036
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DE87F9

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

Preview Lab → · Contrast checker → · Palette generator →

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