#DF87F9#DF87F9

#DF87F9 is a light, vivid purple. Relative luminance 0.399; OKLCH L 75.7% C 0.180 H 318.2°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#DF87F9
RGBrgb(223, 135, 249)
HSLhsl(286, 90%, 75%)
HSVhsv(286, 46%, 98%)
CMYKcmyk(10.4%, 45.8%, 0%, 2.4%)
CIE-LABlab(69.37, 51.68, -43.48)
CIE-LCHlch(69.37, 67.54, 319.93°)
OKLaboklab(75.72% 0.1344 -0.1203)
OKLCHoklch(75.72% 0.18 318.2)
XYZxyz(56.1919, 39.8573, 94.3374)
Luminance0.3986 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF87F9 #A1F987
analogous
#A687F9 #DF87F9 #F987DA
triadic
#DF87F9 #F9DF87 #87F9DF
tetradic
#DF87F9 #F9A687 #A1F987 #87DAF9
square
#DF87F9 #F9A687 #A1F987 #87DAF9
split-complementary
#DF87F9 #DAF987 #87F9A6
monochromatic
#C012F3 #CF4DF6 #DF87F9 #EFC1FC #F7E2FE

Accessibility & contrast

On white

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

On black

8.97
#DF87F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF87F9
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF87F9#FFFFFF#000000##000000
##DF87F91.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A4FD
Deuteranopia (green-blind)
#8CACF6
Tritanopia (blue-blind)
#DF97B4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #df87f9;
/* rgb */ color: rgb(223, 135, 249);
/* oklch */ color: oklch(75.7% 0.180 318.2);
Tailwind
colors: {
  custom: {
    50: '#ebacfb',
    500: '#df87f9',
    950: '#000000',
  },
}
SCSS
$custom: #df87f9;
$custom-light: #ebacfb;
$custom-dark: #000000;
JSON
{
  "hex": "#df87f9",
  "rgb": {
    "r": 223,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 286.316,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.75719,
    "c": 0.18039,
    "h": 318.2
  },
  "luminance": 0.39855
}

Semantic roles & 50–950 ramp

primary
#DF87F9
secondary
#DDF6D5
accent
#E60034
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DF87F9

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

Preview Lab → · Contrast checker → · Palette generator →

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