#DF87E6#DF87E6

#DF87E6 is a light, vivid purple. Relative luminance 0.387; OKLCH L 74.8% C 0.161 H 324.4°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#DF87E6
RGBrgb(223, 135, 230)
HSLhsl(296, 66%, 72%)
HSVhsv(296, 41%, 90%)
CMYKcmyk(3%, 41.3%, 0%, 9.8%)
CIE-LABlab(68.56, 48.05, -34.32)
CIE-LCHlch(68.56, 59.05, 324.47°)
OKLaboklab(74.85% 0.1311 -0.094)
OKLCHoklch(74.85% 0.161 324.4)
XYZxyz(53.3770, 38.7313, 79.5118)
Luminance0.3873 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF87E6 #8EE687
analogous
#B087E6 #DF87E6 #E687BE
triadic
#DF87E6 #E6DF87 #87E6DF
tetradic
#DF87E6 #E6B087 #8EE687 #87BEE6
square
#DF87E6 #E6B087 #8EE687 #87BEE6
split-complementary
#DF87E6 #BEE687 #87E6B0
monochromatic
#BD2AC9 #D154DB #DF87E6 #EDBAF1 #F8E6FA

Accessibility & contrast

On white

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

On black

8.75
#DF87E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF87E6
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF87E6#FFFFFF#000000##000000
##DF87E61.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA0E9
Deuteranopia (green-blind)
#95ABE3
Tritanopia (blue-blind)
#E391AC
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #df87e6;
/* rgb */ color: rgb(223, 135, 230);
/* oklch */ color: oklch(74.8% 0.161 324.4);
Tailwind
colors: {
  custom: {
    50: '#eaacee',
    500: '#df87e6',
    950: '#000000',
  },
}
SCSS
$custom: #df87e6;
$custom-light: #eaacee;
$custom-dark: #000000;
JSON
{
  "hex": "#df87e6",
  "rgb": {
    "r": 223,
    "g": 135,
    "b": 230
  },
  "hsl": {
    "h": 295.579,
    "s": 65.517,
    "l": 71.569
  },
  "oklch": {
    "l": 0.74847,
    "c": 0.16132,
    "h": 324.4
  },
  "luminance": 0.38729
}

Semantic roles & 50–950 ramp

primary
#DF87E6
secondary
#DAF1D8
accent
#CD1825
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DF87E6

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

Preview Lab → · Contrast checker → · Palette generator →

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