#DF87FF#DF87FF

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

Color values

HEX#DF87FF
RGBrgb(223, 135, 255)
HSLhsl(284, 100%, 76%)
HSVhsv(284, 47%, 100%)
CMYKcmyk(12.5%, 47.1%, 0%, 0%)
CIE-LABlab(69.64, 52.87, -46.33)
CIE-LCHlch(69.64, 70.29, 318.77°)
OKLaboklab(76.01% 0.1353 -0.1285)
OKLCHoklch(76.01% 0.187 316.5)
XYZxyz(57.1427, 40.2376, 99.3449)
Luminance0.4024 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF87FF #A7FF87
analogous
#A387FF #DF87FF #FF87E3
triadic
#DF87FF #FFDF87 #87FFDF
tetradic
#DF87FF #FFA387 #A7FF87 #87E3FF
square
#DF87FF #FFA387 #A7FF87 #87E3FF
split-complementary
#DF87FF #E3FF87 #87FFA3
monochromatic
#BE0DFF #CF4AFF #DF87FF #EFC4FF #F7E0FF

Accessibility & contrast

On white

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

On black

9.05
#DF87FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF87FF
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF87FF#FFFFFF#000000##000000
##DF87FF1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A5FF
Deuteranopia (green-blind)
#89ADFC
Tritanopia (blue-blind)
#DE98B7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #df87ff;
/* rgb */ color: rgb(223, 135, 255);
/* oklch */ color: oklch(76.0% 0.187 316.5);
Tailwind
colors: {
  custom: {
    50: '#ebacff',
    500: '#df87ff',
    950: '#000000',
  },
}
SCSS
$custom: #df87ff;
$custom-light: #ebacff;
$custom-dark: #000000;
JSON
{
  "hex": "#df87ff",
  "rgb": {
    "r": 223,
    "g": 135,
    "b": 255
  },
  "hsl": {
    "h": 284,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.76009,
    "c": 0.1866,
    "h": 316.5
  },
  "luminance": 0.40236
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF87FF

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

Preview Lab → · Contrast checker → · Palette generator →

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