#DF87D2#DF87D2

#DF87D2 is a light, vivid purple. Relative luminance 0.377; OKLCH L 74.0% C 0.143 H 332.4°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#DF87D2
RGBrgb(223, 135, 210)
HSLhsl(309, 58%, 70%)
HSVhsv(309, 39%, 87%)
CMYKcmyk(0%, 39.5%, 5.8%, 12.5%)
CIE-LABlab(67.78, 44.46, -24.44)
CIE-LCHlch(67.78, 50.74, 331.21°)
OKLaboklab(74.01% 0.1266 -0.066)
OKLCHoklch(74.01% 0.143 332.4)
XYZxyz(50.7278, 37.6717, 65.5596)
Luminance0.3767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF87D2 #87DF94
analogous
#C087DF #DF87D2 #DF87A6
triadic
#DF87D2 #D2DF87 #87D2DF
tetradic
#DF87D2 #DFC087 #87DF94 #87A6DF
square
#DF87D2 #DFC087 #87DF94 #87A6DF
split-complementary
#DF87D2 #A6DF87 #87DFC0
monochromatic
#BA32A6 #D257C0 #DF87D2 #ECB7E4 #F9E7F6

Accessibility & contrast

On white

2.46
#DF87D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#DF87D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF87D2
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF87D2#FFFFFF#000000##000000
##DF87D21.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#859DD5
Deuteranopia (green-blind)
#9CAACF
Tritanopia (blue-blind)
#E68CA3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #df87d2;
/* rgb */ color: rgb(223, 135, 210);
/* oklch */ color: oklch(74.0% 0.143 332.4);
Tailwind
colors: {
  custom: {
    50: '#eaace0',
    500: '#df87d2',
    950: '#000000',
  },
}
SCSS
$custom: #df87d2;
$custom-light: #eaace0;
$custom-dark: #000000;
JSON
{
  "hex": "#df87d2",
  "rgb": {
    "r": 223,
    "g": 135,
    "b": 210
  },
  "hsl": {
    "h": 308.864,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74007,
    "c": 0.14278,
    "h": 332.4
  },
  "luminance": 0.37669
}

Semantic roles & 50–950 ramp

primary
#DF87D2
secondary
#D5EDD8
accent
#C53820
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #DF87D2

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

Preview Lab → · Contrast checker → · Palette generator →

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