#DE87F0#DE87F0

#DE87F0 is a light, vivid purple. Relative luminance 0.391; OKLCH L 75.2% C 0.171 H 320.6°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#DE87F0
RGBrgb(222, 135, 240)
HSLhsl(290, 78%, 74%)
HSVhsv(290, 44%, 94%)
CMYKcmyk(7.5%, 43.8%, 0%, 5.9%)
CIE-LABlab(68.86, 49.65, -39.35)
CIE-LCHlch(68.86, 63.35, 321.60°)
OKLaboklab(75.19% 0.1318 -0.1084)
OKLCHoklch(75.19% 0.171 320.6)
XYZxyz(54.5144, 39.1508, 87.1064)
Luminance0.3915 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE87F0 #99F087
analogous
#A987F0 #DE87F0 #F087CD
triadic
#DE87F0 #F0DE87 #87F0DE
tetradic
#DE87F0 #F0A987 #99F087 #87CDF0
square
#DE87F0 #F0A987 #99F087 #87CDF0
split-complementary
#DE87F0 #CDF087 #87F0A9
monochromatic
#BF1CE1 #CF51E9 #DE87F0 #EDBDF7 #F8E4FC

Accessibility & contrast

On white

2.38
#DE87F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#DE87F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE87F0
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE87F0#FFFFFF#000000##000000
##DE87F01.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A2F4
Deuteranopia (green-blind)
#90ABED
Tritanopia (blue-blind)
#E094B0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #de87f0;
/* rgb */ color: rgb(222, 135, 240);
/* oklch */ color: oklch(75.2% 0.171 320.6);
Tailwind
colors: {
  custom: {
    50: '#eaacf5',
    500: '#de87f0',
    950: '#000000',
  },
}
SCSS
$custom: #de87f0;
$custom-light: #eaacf5;
$custom-dark: #000000;
JSON
{
  "hex": "#de87f0",
  "rgb": {
    "r": 222,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 289.714,
    "s": 77.778,
    "l": 73.529
  },
  "oklch": {
    "l": 0.75187,
    "c": 0.17069,
    "h": 320.6
  },
  "luminance": 0.39149
}

Semantic roles & 50–950 ramp

primary
#DE87F0
secondary
#DCF3D8
accent
#DA0B2F
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #DE87F0

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

Preview Lab → · Contrast checker → · Palette generator →

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