#DF87EA#DF87EA

#DF87EA is a light, vivid purple. Relative luminance 0.390; OKLCH L 75.0% C 0.165 H 323.0°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#DF87EA
RGBrgb(223, 135, 234)
HSLhsl(293, 70%, 72%)
HSVhsv(293, 42%, 92%)
CMYKcmyk(4.7%, 42.3%, 0%, 8.2%)
CIE-LABlab(68.72, 48.80, -36.26)
CIE-LCHlch(68.72, 60.80, 323.38°)
OKLaboklab(75.02% 0.1319 -0.0995)
OKLCHoklch(75.02% 0.165 323)
XYZxyz(53.9451, 38.9586, 82.5041)
Luminance0.3896 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF87EA #92EA87
analogous
#AD87EA #DF87EA #EA87C4
triadic
#DF87EA #EADF87 #87EADF
tetradic
#DF87EA #EAAD87 #92EA87 #87C4EA
square
#DF87EA #EAAD87 #92EA87 #87C4EA
split-complementary
#DF87EA #C4EA87 #87EAAD
monochromatic
#BF25D2 #D153E1 #DF87EA #EDBBF3 #F8E5FA

Accessibility & contrast

On white

2.39
#DF87EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#DF87EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF87EA
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF87EA#FFFFFF#000000##000000
##DF87EA1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA1EE
Deuteranopia (green-blind)
#93ABE7
Tritanopia (blue-blind)
#E292AE
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #df87ea;
/* rgb */ color: rgb(223, 135, 234);
/* oklch */ color: oklch(75.0% 0.165 323.0);
Tailwind
colors: {
  custom: {
    50: '#ebacf1',
    500: '#df87ea',
    950: '#000000',
  },
}
SCSS
$custom: #df87ea;
$custom-light: #ebacf1;
$custom-dark: #000000;
JSON
{
  "hex": "#df87ea",
  "rgb": {
    "r": 223,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 293.333,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75025,
    "c": 0.16524,
    "h": 323
  },
  "luminance": 0.38956
}

Semantic roles & 50–950 ramp

primary
#DF87EA
secondary
#DCF2D9
accent
#D21329
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DF87EA

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

Preview Lab → · Contrast checker → · Palette generator →

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