#DE87F7#DE87F7

#DE87F7 is a light, vivid purple. Relative luminance 0.396; OKLCH L 75.5% C 0.178 H 318.4°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#DE87F7
RGBrgb(222, 135, 247)
HSLhsl(287, 88%, 75%)
HSVhsv(287, 45%, 97%)
CMYKcmyk(10.1%, 45.3%, 0%, 3.1%)
CIE-LABlab(69.17, 51.01, -42.71)
CIE-LCHlch(69.17, 66.53, 320.06°)
OKLaboklab(75.52% 0.133 -0.1181)
OKLCHoklch(75.52% 0.178 318.4)
XYZxyz(55.5744, 39.5748, 92.6889)
Luminance0.3957 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE87F7 #A0F787
analogous
#A687F7 #DE87F7 #F787D8
triadic
#DE87F7 #F7DE87 #87F7DE
tetradic
#DE87F7 #F7A687 #A0F787 #87D8F7
square
#DE87F7 #F7A687 #A0F787 #87D8F7
split-complementary
#DE87F7 #D8F787 #87F7A6
monochromatic
#BE14EF #CE4EF3 #DE87F7 #EEC0FB #F7E2FD

Accessibility & contrast

On white

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

On black

8.91
#DE87F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE87F7
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE87F7#FFFFFF#000000##000000
##DE87F71.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A3FB
Deuteranopia (green-blind)
#8DACF4
Tritanopia (blue-blind)
#DE96B4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #de87f7;
/* rgb */ color: rgb(222, 135, 247);
/* oklch */ color: oklch(75.5% 0.178 318.4);
Tailwind
colors: {
  custom: {
    50: '#eaacfa',
    500: '#de87f7',
    950: '#000000',
  },
}
SCSS
$custom: #de87f7;
$custom-light: #eaacfa;
$custom-dark: #000000;
JSON
{
  "hex": "#de87f7",
  "rgb": {
    "r": 222,
    "g": 135,
    "b": 247
  },
  "hsl": {
    "h": 286.607,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.75515,
    "c": 0.17785,
    "h": 318.4
  },
  "luminance": 0.39573
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DE87F7

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

Preview Lab → · Contrast checker → · Palette generator →

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