#DE87FF#DE87FF

#DE87FF is a light, vivid purple. Relative luminance 0.401; OKLCH L 75.9% C 0.186 H 316.1°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#DE87FF
RGBrgb(222, 135, 255)
HSLhsl(284, 100%, 76%)
HSVhsv(284, 47%, 100%)
CMYKcmyk(12.9%, 47.1%, 0%, 0%)
CIE-LABlab(69.53, 52.59, -46.51)
CIE-LCHlch(69.53, 70.21, 318.51°)
OKLaboklab(75.9% 0.1342 -0.129)
OKLCHoklch(75.9% 0.186 316.1)
XYZxyz(56.8355, 40.0792, 99.3305)
Luminance0.4008 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE87FF #A8FF87
analogous
#A287FF #DE87FF #FF87E4
triadic
#DE87FF #FFDE87 #87FFDE
tetradic
#DE87FF #FFA287 #A8FF87 #87E4FF
square
#DE87FF #FFA287 #A8FF87 #87E4FF
split-complementary
#DE87FF #E4FF87 #87FFA2
monochromatic
#BC0DFF #CD4AFF #DE87FF #EFC4FF #F7E0FF

Accessibility & contrast

On white

2.33
#DE87FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#DE87FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE87FF
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE87FF#FFFFFF#000000##000000
##DE87FF1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A4FF
Deuteranopia (green-blind)
#89ACFC
Tritanopia (blue-blind)
#DD98B7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #de87ff;
/* rgb */ color: rgb(222, 135, 255);
/* oklch */ color: oklch(75.9% 0.186 316.1);
Tailwind
colors: {
  custom: {
    50: '#eaacff',
    500: '#de87ff',
    950: '#000000',
  },
}
SCSS
$custom: #de87ff;
$custom-light: #eaacff;
$custom-dark: #000000;
JSON
{
  "hex": "#de87ff",
  "rgb": {
    "r": 222,
    "g": 135,
    "b": 255
  },
  "hsl": {
    "h": 283.5,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75901,
    "c": 0.18615,
    "h": 316.1
  },
  "luminance": 0.40078
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DE87FF

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

Preview Lab → · Contrast checker → · Palette generator →

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