#DE87D2#DE87D2

#DE87D2 is a light, vivid purple. Relative luminance 0.375; OKLCH L 73.9% C 0.142 H 332.0°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#DE87D2
RGBrgb(222, 135, 210)
HSLhsl(308, 57%, 70%)
HSVhsv(308, 39%, 87%)
CMYKcmyk(0%, 39.2%, 5.4%, 12.9%)
CIE-LABlab(67.66, 44.15, -24.63)
CIE-LCHlch(67.66, 50.56, 330.84°)
OKLaboklab(73.89% 0.1255 -0.0666)
OKLCHoklch(73.89% 0.142 332)
XYZxyz(50.4205, 37.5132, 65.5452)
Luminance0.3751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE87D2 #87DE93
analogous
#BF87DE #DE87D2 #DE87A6
triadic
#DE87D2 #D2DE87 #87D2DE
tetradic
#DE87D2 #DEBF87 #87DE93 #87A6DE
square
#DE87D2 #DEBF87 #87DE93 #87A6DE
split-complementary
#DE87D2 #A6DE87 #87DEBF
monochromatic
#B833A6 #D157C0 #DE87D2 #EBB7E4 #F8E7F6

Accessibility & contrast

On white

2.47
#DE87D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#DE87D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE87D2
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE87D2#FFFFFF#000000##000000
##DE87D21.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#859DD5
Deuteranopia (green-blind)
#9BA9CF
Tritanopia (blue-blind)
#E58CA3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #de87d2;
/* rgb */ color: rgb(222, 135, 210);
/* oklch */ color: oklch(73.9% 0.142 332.0);
Tailwind
colors: {
  custom: {
    50: '#eaace0',
    500: '#de87d2',
    950: '#000000',
  },
}
SCSS
$custom: #de87d2;
$custom-light: #eaace0;
$custom-dark: #000000;
JSON
{
  "hex": "#de87d2",
  "rgb": {
    "r": 222,
    "g": 135,
    "b": 210
  },
  "hsl": {
    "h": 308.276,
    "s": 56.863,
    "l": 70
  },
  "oklch": {
    "l": 0.73893,
    "c": 0.14205,
    "h": 332
  },
  "luminance": 0.37511
}

Semantic roles & 50–950 ramp

primary
#DE87D2
secondary
#D4EDD8
accent
#C43821
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #DE87D2

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

Preview Lab → · Contrast checker → · Palette generator →

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