#DF87FA#DF87FA

#DF87FA is a light, vivid purple. Relative luminance 0.399; OKLCH L 75.8% C 0.181 H 317.9°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#DF87FA
RGBrgb(223, 135, 250)
HSLhsl(286, 92%, 75%)
HSVhsv(286, 46%, 98%)
CMYKcmyk(10.8%, 46%, 0%, 2%)
CIE-LABlab(69.41, 51.88, -43.96)
CIE-LCHlch(69.41, 67.99, 319.73°)
OKLaboklab(75.77% 0.1346 -0.1216)
OKLCHoklch(75.77% 0.181 317.9)
XYZxyz(56.3483, 39.9199, 95.1610)
Luminance0.3992 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF87FA #A2FA87
analogous
#A587FA #DF87FA #FA87DB
triadic
#DF87FA #FADF87 #87FADF
tetradic
#DF87FA #FAA587 #A2FA87 #87DBFA
square
#DF87FA #FAA587 #A2FA87 #87DBFA
split-complementary
#DF87FA #DBFA87 #87FAA5
monochromatic
#C011F5 #CF4CF8 #DF87FA #EFC2FC #F7E2FE

Accessibility & contrast

On white

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

On black

8.98
#DF87FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF87FA
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF87FA#FFFFFF#000000##000000
##DF87FA1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A4FE
Deuteranopia (green-blind)
#8CACF7
Tritanopia (blue-blind)
#DF97B5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #df87fa;
/* rgb */ color: rgb(223, 135, 250);
/* oklch */ color: oklch(75.8% 0.181 317.9);
Tailwind
colors: {
  custom: {
    50: '#ebacfc',
    500: '#df87fa',
    950: '#000000',
  },
}
SCSS
$custom: #df87fa;
$custom-light: #ebacfc;
$custom-dark: #000000;
JSON
{
  "hex": "#df87fa",
  "rgb": {
    "r": 223,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 285.913,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75767,
    "c": 0.18143,
    "h": 317.9
  },
  "luminance": 0.39918
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF87FA

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

Preview Lab → · Contrast checker → · Palette generator →

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