#DF87FD#DF87FD

#DF87FD is a light, vivid purple. Relative luminance 0.401; OKLCH L 75.9% C 0.185 H 317.0°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#DF87FD
RGBrgb(223, 135, 253)
HSLhsl(285, 97%, 76%)
HSVhsv(285, 47%, 99%)
CMYKcmyk(11.9%, 46.6%, 0%, 0.8%)
CIE-LABlab(69.55, 52.47, -45.38)
CIE-LCHlch(69.55, 69.37, 319.14°)
OKLaboklab(75.91% 0.135 -0.1258)
OKLCHoklch(75.91% 0.185 317)
XYZxyz(56.8225, 40.1095, 97.6581)
Luminance0.4011 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF87FD #A5FD87
analogous
#A487FD #DF87FD #FD87E0
triadic
#DF87FD #FDDF87 #87FDDF
tetradic
#DF87FD #FDA487 #A5FD87 #87E0FD
square
#DF87FD #FDA487 #A5FD87 #87E0FD
split-complementary
#DF87FD #E0FD87 #87FDA4
monochromatic
#BF0FFB #CF4BFC #DF87FD #EFC3FE #F7E1FE

Accessibility & contrast

On white

2.33
#DF87FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#DF87FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF87FD
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF87FD#FFFFFF#000000##000000
##DF87FD1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #df87fd;
/* rgb */ color: rgb(223, 135, 253);
/* oklch */ color: oklch(75.9% 0.185 317.0);
Tailwind
colors: {
  custom: {
    50: '#ebacfe',
    500: '#df87fd',
    950: '#000000',
  },
}
SCSS
$custom: #df87fd;
$custom-light: #ebacfe;
$custom-dark: #000000;
JSON
{
  "hex": "#df87fd",
  "rgb": {
    "r": 223,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 284.746,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75912,
    "c": 0.18453,
    "h": 317
  },
  "luminance": 0.40108
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF87FD

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

Preview Lab → · Contrast checker → · Palette generator →

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