#DF87ED#DF87ED

#DF87ED is a light, vivid purple. Relative luminance 0.391; OKLCH L 75.2% C 0.168 H 321.9°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#DF87ED
RGBrgb(223, 135, 237)
HSLhsl(292, 74%, 73%)
HSVhsv(292, 43%, 93%)
CMYKcmyk(5.9%, 43%, 0%, 7.1%)
CIE-LABlab(68.85, 49.36, -37.72)
CIE-LCHlch(68.85, 62.12, 322.62°)
OKLaboklab(75.16% 0.1325 -0.1037)
OKLCHoklch(75.16% 0.168 321.9)
XYZxyz(54.3797, 39.1324, 84.7932)
Luminance0.3913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF87ED #95ED87
analogous
#AC87ED #DF87ED #ED87C8
triadic
#DF87ED #EDDF87 #87EDDF
tetradic
#DF87ED #EDAC87 #95ED87 #87C8ED
square
#DF87ED #EDAC87 #95ED87 #87C8ED
split-complementary
#DF87ED #C8ED87 #87EDAC
monochromatic
#C021D9 #D152E5 #DF87ED #EDBCF5 #F8E4FB

Accessibility & contrast

On white

2.38
#DF87ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#DF87ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF87ED
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF87ED#FFFFFF#000000##000000
##DF87ED1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA2F1
Deuteranopia (green-blind)
#92ABEA
Tritanopia (blue-blind)
#E193AF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #df87ed;
/* rgb */ color: rgb(223, 135, 237);
/* oklch */ color: oklch(75.2% 0.168 321.9);
Tailwind
colors: {
  custom: {
    50: '#ebacf3',
    500: '#df87ed',
    950: '#000000',
  },
}
SCSS
$custom: #df87ed;
$custom-light: #ebacf3;
$custom-dark: #000000;
JSON
{
  "hex": "#df87ed",
  "rgb": {
    "r": 223,
    "g": 135,
    "b": 237
  },
  "hsl": {
    "h": 291.765,
    "s": 73.913,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7516,
    "c": 0.16822,
    "h": 321.9
  },
  "luminance": 0.3913
}

Semantic roles & 50–950 ramp

primary
#DF87ED
secondary
#DCF3D8
accent
#D60F2B
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DF87ED

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

Preview Lab → · Contrast checker → · Palette generator →

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