#DE87F6#DE87F6

#DE87F6 is a light, vivid purple. Relative luminance 0.395; OKLCH L 75.5% C 0.177 H 318.7°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#DE87F6
RGBrgb(222, 135, 246)
HSLhsl(287, 86%, 75%)
HSVhsv(287, 45%, 96%)
CMYKcmyk(9.8%, 45.1%, 0%, 3.5%)
CIE-LABlab(69.12, 50.81, -42.23)
CIE-LCHlch(69.12, 66.07, 320.27°)
OKLaboklab(75.47% 0.1328 -0.1167)
OKLCHoklch(75.47% 0.177 318.7)
XYZxyz(55.4205, 39.5132, 91.8784)
Luminance0.3951 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE87F6 #9FF687
analogous
#A787F6 #DE87F6 #F687D7
triadic
#DE87F6 #F6DE87 #87F6DE
tetradic
#DE87F6 #F6A787 #9FF687 #87D7F6
square
#DE87F6 #F6A787 #9FF687 #87D7F6
split-complementary
#DE87F6 #D7F687 #87F6A7
monochromatic
#BF15ED #CE4EF2 #DE87F6 #EEC0FA #F7E3FD

Accessibility & contrast

On white

2.36
#DE87F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#DE87F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE87F6
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE87F6#FFFFFF#000000##000000
##DE87F61.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A3FA
Deuteranopia (green-blind)
#8DACF3
Tritanopia (blue-blind)
#DE96B3
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #de87f6;
/* rgb */ color: rgb(222, 135, 246);
/* oklch */ color: oklch(75.5% 0.177 318.7);
Tailwind
colors: {
  custom: {
    50: '#eaacf9',
    500: '#de87f6',
    950: '#000000',
  },
}
SCSS
$custom: #de87f6;
$custom-light: #eaacf9;
$custom-dark: #000000;
JSON
{
  "hex": "#de87f6",
  "rgb": {
    "r": 222,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 287.027,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.75467,
    "c": 0.17682,
    "h": 318.7
  },
  "luminance": 0.39511
}

Semantic roles & 50–950 ramp

primary
#DE87F6
secondary
#DDF5D6
accent
#E30333
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DE87F6

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

Preview Lab → · Contrast checker → · Palette generator →

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