#DF87F6#DF87F6

#DF87F6 is a light, vivid purple. Relative luminance 0.397; OKLCH L 75.6% C 0.177 H 319.1°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#DF87F6
RGBrgb(223, 135, 246)
HSLhsl(288, 86%, 75%)
HSVhsv(288, 45%, 96%)
CMYKcmyk(9.3%, 45.1%, 0%, 3.5%)
CIE-LABlab(69.24, 51.09, -42.05)
CIE-LCHlch(69.24, 66.17, 320.55°)
OKLaboklab(75.58% 0.134 -0.1161)
OKLCHoklch(75.58% 0.177 319.1)
XYZxyz(55.7278, 39.6717, 91.8928)
Luminance0.3967 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF87F6 #9EF687
analogous
#A887F6 #DF87F6 #F687D5
triadic
#DF87F6 #F6DF87 #87F6DF
tetradic
#DF87F6 #F6A887 #9EF687 #87D5F6
square
#DF87F6 #F6A887 #9EF687 #87D5F6
split-complementary
#DF87F6 #D5F687 #87F6A8
monochromatic
#C115ED #D04EF2 #DF87F6 #EEC0FA #F7E3FD

Accessibility & contrast

On white

2.35
#DF87F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#DF87F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF87F6
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF87F6#FFFFFF#000000##000000
##DF87F61.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A3FA
Deuteranopia (green-blind)
#8EACF3
Tritanopia (blue-blind)
#E096B3
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #df87f6;
/* rgb */ color: rgb(223, 135, 246);
/* oklch */ color: oklch(75.6% 0.177 319.1);
Tailwind
colors: {
  custom: {
    50: '#ebacf9',
    500: '#df87f6',
    950: '#000000',
  },
}
SCSS
$custom: #df87f6;
$custom-light: #ebacf9;
$custom-dark: #000000;
JSON
{
  "hex": "#df87f6",
  "rgb": {
    "r": 223,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 287.568,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.75577,
    "c": 0.17732,
    "h": 319.1
  },
  "luminance": 0.3967
}

Semantic roles & 50–950 ramp

primary
#DF87F6
secondary
#DDF5D6
accent
#E30331
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DF87F6

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

Preview Lab → · Contrast checker → · Palette generator →

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