#DF87E7#DF87E7

#DF87E7 is a light, vivid purple. Relative luminance 0.388; OKLCH L 74.9% C 0.162 H 324.0°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#DF87E7
RGBrgb(223, 135, 231)
HSLhsl(295, 67%, 72%)
HSVhsv(295, 42%, 91%)
CMYKcmyk(3.5%, 41.6%, 0%, 9.4%)
CIE-LABlab(68.60, 48.24, -34.80)
CIE-LCHlch(68.60, 59.48, 324.19°)
OKLaboklab(74.89% 0.1313 -0.0954)
OKLCHoklch(74.89% 0.162 324)
XYZxyz(53.5178, 38.7877, 80.2535)
Luminance0.3878 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF87E7 #8FE787
analogous
#AF87E7 #DF87E7 #E787BF
triadic
#DF87E7 #E7DF87 #87E7DF
tetradic
#DF87E7 #E7AF87 #8FE787 #87BFE7
square
#DF87E7 #E7AF87 #8FE787 #87BFE7
split-complementary
#DF87E7 #BFE787 #87E7AF
monochromatic
#BD29CB #D154DD #DF87E7 #EDBAF1 #F8E5FA

Accessibility & contrast

On white

2.40
#DF87E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#DF87E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF87E7
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF87E7#FFFFFF#000000##000000
##DF87E71.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA1EA
Deuteranopia (green-blind)
#94ABE4
Tritanopia (blue-blind)
#E392AC
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #df87e7;
/* rgb */ color: rgb(223, 135, 231);
/* oklch */ color: oklch(74.9% 0.162 324.0);
Tailwind
colors: {
  custom: {
    50: '#eaacef',
    500: '#df87e7',
    950: '#000000',
  },
}
SCSS
$custom: #df87e7;
$custom-light: #eaacef;
$custom-dark: #000000;
JSON
{
  "hex": "#df87e7",
  "rgb": {
    "r": 223,
    "g": 135,
    "b": 231
  },
  "hsl": {
    "h": 295,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.74892,
    "c": 0.16229,
    "h": 324
  },
  "luminance": 0.38785
}

Semantic roles & 50–950 ramp

primary
#DF87E7
secondary
#DBF1D9
accent
#CF1726
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DF87E7

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

Preview Lab → · Contrast checker → · Palette generator →

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