#DE87F5#DE87F5

#DE87F5 is a light, vivid purple. Relative luminance 0.395; OKLCH L 75.4% C 0.176 H 319.0°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#DE87F5
RGBrgb(222, 135, 245)
HSLhsl(287, 85%, 75%)
HSVhsv(287, 45%, 96%)
CMYKcmyk(9.4%, 44.9%, 0%, 3.9%)
CIE-LABlab(69.08, 50.62, -41.75)
CIE-LCHlch(69.08, 65.62, 320.48°)
OKLaboklab(75.42% 0.1327 -0.1153)
OKLCHoklch(75.42% 0.176 319)
XYZxyz(55.2674, 39.4520, 91.0722)
Luminance0.3945 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE87F5 #9EF587
analogous
#A787F5 #DE87F5 #F587D5
triadic
#DE87F5 #F5DE87 #87F5DE
tetradic
#DE87F5 #F5A787 #9EF587 #87D5F5
square
#DE87F5 #F5A787 #9EF587 #87D5F5
split-complementary
#DE87F5 #D5F587 #87F5A7
monochromatic
#BF16EC #CE4FF0 #DE87F5 #EEBFFA #F7E3FD

Accessibility & contrast

On white

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

On black

8.89
#DE87F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE87F5
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE87F5#FFFFFF#000000##000000
##DE87F51.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A3F9
Deuteranopia (green-blind)
#8EACF2
Tritanopia (blue-blind)
#DF96B3
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #de87f5;
/* rgb */ color: rgb(222, 135, 245);
/* oklch */ color: oklch(75.4% 0.176 319.0);
Tailwind
colors: {
  custom: {
    50: '#eaacf9',
    500: '#de87f5',
    950: '#000000',
  },
}
SCSS
$custom: #de87f5;
$custom-light: #eaacf9;
$custom-dark: #000000;
JSON
{
  "hex": "#de87f5",
  "rgb": {
    "r": 222,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 287.455,
    "s": 84.615,
    "l": 74.51
  },
  "oklch": {
    "l": 0.7542,
    "c": 0.17579,
    "h": 319
  },
  "luminance": 0.3945
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DE87F5

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

Preview Lab → · Contrast checker → · Palette generator →

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