#DF87FE#DF87FE

#DF87FE is a light, vivid purple. Relative luminance 0.402; OKLCH L 76.0% C 0.186 H 316.8°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#DF87FE
RGBrgb(223, 135, 254)
HSLhsl(284, 98%, 76%)
HSVhsv(284, 47%, 100%)
CMYKcmyk(12.2%, 46.9%, 0%, 0.4%)
CIE-LABlab(69.59, 52.67, -45.85)
CIE-LCHlch(69.59, 69.83, 318.96°)
OKLaboklab(75.96% 0.1352 -0.1271)
OKLCHoklch(75.96% 0.186 316.8)
XYZxyz(56.9822, 40.1734, 98.4993)
Luminance0.4017 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF87FE #A6FE87
analogous
#A487FE #DF87FE #FE87E2
triadic
#DF87FE #FEDF87 #87FEDF
tetradic
#DF87FE #FEA487 #A6FE87 #87E2FE
square
#DF87FE #FEA487 #A6FE87 #87E2FE
split-complementary
#DF87FE #E2FE87 #87FEA4
monochromatic
#BF0EFD #CF4AFD #DF87FE #EFC4FF #F7E1FF

Accessibility & contrast

On white

2.32
#DF87FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#DF87FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF87FE
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF87FE#FFFFFF#000000##000000
##DF87FE1.002.329.039.03
#FFFFFF2.321.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A4FF
Deuteranopia (green-blind)
#8AADFB
Tritanopia (blue-blind)
#DE98B7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #df87fe;
/* rgb */ color: rgb(223, 135, 254);
/* oklch */ color: oklch(76.0% 0.186 316.8);
Tailwind
colors: {
  custom: {
    50: '#ebacff',
    500: '#df87fe',
    950: '#000000',
  },
}
SCSS
$custom: #df87fe;
$custom-light: #ebacff;
$custom-dark: #000000;
JSON
{
  "hex": "#df87fe",
  "rgb": {
    "r": 223,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 284.37,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.7596,
    "c": 0.18557,
    "h": 316.8
  },
  "luminance": 0.40172
}

Semantic roles & 50–950 ramp

primary
#DF87FE
secondary
#DDF7D4
accent
#E6003C
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DF87FE

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

Preview Lab → · Contrast checker → · Palette generator →

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