#DE87FD#DE87FD

#DE87FD is a light, vivid purple. Relative luminance 0.399; OKLCH L 75.8% C 0.184 H 316.7°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#DE87FD
RGBrgb(222, 135, 253)
HSLhsl(284, 97%, 76%)
HSVhsv(284, 47%, 99%)
CMYKcmyk(12.3%, 46.6%, 0%, 0.8%)
CIE-LABlab(69.43, 52.20, -45.57)
CIE-LCHlch(69.43, 69.29, 318.88°)
OKLaboklab(75.8% 0.1339 -0.1263)
OKLCHoklch(75.8% 0.184 316.7)
XYZxyz(56.5152, 39.9511, 97.6437)
Luminance0.3995 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE87FD #A6FD87
analogous
#A387FD #DE87FD #FD87E1
triadic
#DE87FD #FDDE87 #87FDDE
tetradic
#DE87FD #FDA387 #A6FD87 #87E1FD
square
#DE87FD #FDA387 #A6FD87 #87E1FD
split-complementary
#DE87FD #E1FD87 #87FDA3
monochromatic
#BD0FFB #CD4BFC #DE87FD #EFC3FE #F7E1FE

Accessibility & contrast

On white

2.34
#DE87FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#DE87FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE87FD
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE87FD#FFFFFF#000000##000000
##DE87FD1.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A4FF
Deuteranopia (green-blind)
#8AACFA
Tritanopia (blue-blind)
#DD98B6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #de87fd;
/* rgb */ color: rgb(222, 135, 253);
/* oklch */ color: oklch(75.8% 0.184 316.7);
Tailwind
colors: {
  custom: {
    50: '#eaacfe',
    500: '#de87fd',
    950: '#000000',
  },
}
SCSS
$custom: #de87fd;
$custom-light: #eaacfe;
$custom-dark: #000000;
JSON
{
  "hex": "#de87fd",
  "rgb": {
    "r": 222,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 284.237,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75803,
    "c": 0.18407,
    "h": 316.7
  },
  "luminance": 0.39949
}

Semantic roles & 50–950 ramp

primary
#DE87FD
secondary
#DDF7D4
accent
#E6003C
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DE87FD

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

Preview Lab → · Contrast checker → · Palette generator →

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