#DF87F7#DF87F7

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

Color values

HEX#DF87F7
RGBrgb(223, 135, 247)
HSLhsl(287, 88%, 75%)
HSVhsv(287, 45%, 97%)
CMYKcmyk(9.7%, 45.3%, 0%, 3.1%)
CIE-LABlab(69.28, 51.29, -42.52)
CIE-LCHlch(69.28, 66.63, 320.34°)
OKLaboklab(75.62% 0.1341 -0.1175)
OKLCHoklch(75.62% 0.178 318.8)
XYZxyz(55.8817, 39.7332, 92.7033)
Luminance0.3973 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF87F7 #9FF787
analogous
#A787F7 #DF87F7 #F787D7
triadic
#DF87F7 #F7DF87 #87F7DF
tetradic
#DF87F7 #F7A787 #9FF787 #87D7F7
square
#DF87F7 #F7A787 #9FF787 #87D7F7
split-complementary
#DF87F7 #D7F787 #87F7A7
monochromatic
#C014EF #D04EF3 #DF87F7 #EEC0FB #F7E2FD

Accessibility & contrast

On white

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

On black

8.95
#DF87F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF87F7
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF87F7#FFFFFF#000000##000000
##DF87F71.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A3FB
Deuteranopia (green-blind)
#8DACF4
Tritanopia (blue-blind)
#DF96B4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #df87f7;
/* rgb */ color: rgb(223, 135, 247);
/* oklch */ color: oklch(75.6% 0.178 318.8);
Tailwind
colors: {
  custom: {
    50: '#ebacfa',
    500: '#df87f7',
    950: '#000000',
  },
}
SCSS
$custom: #df87f7;
$custom-light: #ebacfa;
$custom-dark: #000000;
JSON
{
  "hex": "#df87f7",
  "rgb": {
    "r": 223,
    "g": 135,
    "b": 247
  },
  "hsl": {
    "h": 287.143,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.75624,
    "c": 0.17834,
    "h": 318.8
  },
  "luminance": 0.39731
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF87F7

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

Preview Lab → · Contrast checker → · Palette generator →

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