#DE87DB#DE87DB

#DE87DB is a light, vivid purple. Relative luminance 0.380; OKLCH L 74.3% C 0.150 H 328.2°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#DE87DB
RGBrgb(222, 135, 219)
HSLhsl(302, 57%, 70%)
HSVhsv(302, 39%, 87%)
CMYKcmyk(0%, 39.2%, 1.4%, 12.9%)
CIE-LABlab(68.00, 45.74, -29.10)
CIE-LCHlch(68.00, 54.21, 327.53°)
OKLaboklab(74.26% 0.1276 -0.0792)
OKLCHoklch(74.26% 0.15 328.2)
XYZxyz(51.5735, 37.9744, 71.6173)
Luminance0.3797 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE87DB #87DE8A
analogous
#B687DE #DE87DB #DE87AF
triadic
#DE87DB #DBDE87 #87DBDE
tetradic
#DE87DB #DEB687 #87DE8A #87AFDE
square
#DE87DB #DEB687 #87DE8A #87AFDE
split-complementary
#DE87DB #AFDE87 #87DEB6
monochromatic
#B833B3 #D157CD #DE87DB #EBB7E9 #F8E7F8

Accessibility & contrast

On white

2.44
#DE87DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#DE87DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE87DB
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE87DB#FFFFFF#000000##000000
##DE87DB1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#819FDE
Deuteranopia (green-blind)
#98AAD8
Tritanopia (blue-blind)
#E38FA7
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #de87db;
/* rgb */ color: rgb(222, 135, 219);
/* oklch */ color: oklch(74.3% 0.150 328.2);
Tailwind
colors: {
  custom: {
    50: '#eaace6',
    500: '#de87db',
    950: '#000000',
  },
}
SCSS
$custom: #de87db;
$custom-light: #eaace6;
$custom-dark: #000000;
JSON
{
  "hex": "#de87db",
  "rgb": {
    "r": 222,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 302.069,
    "s": 56.863,
    "l": 70
  },
  "oklch": {
    "l": 0.74262,
    "c": 0.1502,
    "h": 328.2
  },
  "luminance": 0.37972
}

Semantic roles & 50–950 ramp

primary
#DE87DB
secondary
#D4EDD5
accent
#C42721
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DE87DB

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

Preview Lab → · Contrast checker → · Palette generator →

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