#DF87F8#DF87F8

#DF87F8 is a light, vivid purple. Relative luminance 0.398; OKLCH L 75.7% C 0.179 H 318.5°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#DF87F8
RGBrgb(223, 135, 248)
HSLhsl(287, 89%, 75%)
HSVhsv(287, 46%, 97%)
CMYKcmyk(10.1%, 45.6%, 0%, 2.7%)
CIE-LABlab(69.32, 51.48, -43.00)
CIE-LCHlch(69.32, 67.08, 320.13°)
OKLaboklab(75.67% 0.1343 -0.1189)
OKLCHoklch(75.67% 0.179 318.5)
XYZxyz(56.0364, 39.7951, 93.5182)
Luminance0.3979 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF87F8 #A0F887
analogous
#A787F8 #DF87F8 #F887D8
triadic
#DF87F8 #F8DF87 #87F8DF
tetradic
#DF87F8 #F8A787 #A0F887 #87D8F8
square
#DF87F8 #F8A787 #A0F887 #87D8F8
split-complementary
#DF87F8 #D8F887 #87F8A7
monochromatic
#C013F1 #D04DF5 #DF87F8 #EEC1FB #F7E2FD

Accessibility & contrast

On white

2.34
#DF87F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#DF87F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF87F8
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF87F8#FFFFFF#000000##000000
##DF87F81.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A3FC
Deuteranopia (green-blind)
#8DACF5
Tritanopia (blue-blind)
#DF96B4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #df87f8;
/* rgb */ color: rgb(223, 135, 248);
/* oklch */ color: oklch(75.7% 0.179 318.5);
Tailwind
colors: {
  custom: {
    50: '#ebacfb',
    500: '#df87f8',
    950: '#000000',
  },
}
SCSS
$custom: #df87f8;
$custom-light: #ebacfb;
$custom-dark: #000000;
JSON
{
  "hex": "#df87f8",
  "rgb": {
    "r": 223,
    "g": 135,
    "b": 248
  },
  "hsl": {
    "h": 286.726,
    "s": 88.976,
    "l": 75.098
  },
  "oklch": {
    "l": 0.75672,
    "c": 0.17937,
    "h": 318.5
  },
  "luminance": 0.39793
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF87F8

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

Preview Lab → · Contrast checker → · Palette generator →

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