#DE87F2#DE87F2

#DE87F2 is a light, vivid purple. Relative luminance 0.393; OKLCH L 75.3% C 0.173 H 319.9°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#DE87F2
RGBrgb(222, 135, 242)
HSLhsl(289, 80%, 74%)
HSVhsv(289, 44%, 95%)
CMYKcmyk(8.3%, 44.2%, 0%, 5.1%)
CIE-LABlab(68.95, 50.03, -40.32)
CIE-LCHlch(68.95, 64.26, 321.14°)
OKLaboklab(75.28% 0.1322 -0.1112)
OKLCHoklch(75.28% 0.173 319.9)
XYZxyz(54.8132, 39.2703, 88.6798)
Luminance0.3927 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE87F2 #9BF287
analogous
#A987F2 #DE87F2 #F287D1
triadic
#DE87F2 #F2DE87 #87F2DE
tetradic
#DE87F2 #F2A987 #9BF287 #87D1F2
square
#DE87F2 #F2A987 #9BF287 #87D1F2
split-complementary
#DE87F2 #D1F287 #87F2A9
monochromatic
#BF19E6 #CF50EC #DE87F2 #EDBEF8 #F7E3FC

Accessibility & contrast

On white

2.37
#DE87F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#DE87F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE87F2
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE87F2#FFFFFF#000000##000000
##DE87F21.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A2F6
Deuteranopia (green-blind)
#8FABEF
Tritanopia (blue-blind)
#DF95B1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #de87f2;
/* rgb */ color: rgb(222, 135, 242);
/* oklch */ color: oklch(75.3% 0.173 319.9);
Tailwind
colors: {
  custom: {
    50: '#eaacf6',
    500: '#de87f2',
    950: '#000000',
  },
}
SCSS
$custom: #de87f2;
$custom-light: #eaacf6;
$custom-dark: #000000;
JSON
{
  "hex": "#de87f2",
  "rgb": {
    "r": 222,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 288.785,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.7528,
    "c": 0.17272,
    "h": 319.9
  },
  "luminance": 0.39268
}

Semantic roles & 50–950 ramp

primary
#DE87F2
secondary
#DDF4D7
accent
#DD0930
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #DE87F2

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

Preview Lab → · Contrast checker → · Palette generator →

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