#DF87F4#DF87F4

#DF87F4 is a light, vivid purple. Relative luminance 0.395; OKLCH L 75.5% C 0.175 H 319.7°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#DF87F4
RGBrgb(223, 135, 244)
HSLhsl(288, 83%, 74%)
HSVhsv(288, 45%, 96%)
CMYKcmyk(8.6%, 44.7%, 0%, 4.3%)
CIE-LABlab(69.15, 50.71, -41.09)
CIE-LCHlch(69.15, 65.26, 320.98°)
OKLaboklab(75.48% 0.1337 -0.1134)
OKLCHoklch(75.48% 0.175 319.7)
XYZxyz(55.4225, 39.5495, 90.2848)
Luminance0.3955 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF87F4 #9CF487
analogous
#A987F4 #DF87F4 #F487D3
triadic
#DF87F4 #F4DF87 #87F4DF
tetradic
#DF87F4 #F4A987 #9CF487 #87D3F4
square
#DF87F4 #F4A987 #9CF487 #87D3F4
split-complementary
#DF87F4 #D3F487 #87F4A9
monochromatic
#C117EA #D04FEF #DF87F4 #EEBFF9 #F8E3FC

Accessibility & contrast

On white

2.36
#DF87F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#DF87F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF87F4
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF87F4#FFFFFF#000000##000000
##DF87F41.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A3F8
Deuteranopia (green-blind)
#8FACF1
Tritanopia (blue-blind)
#E095B2
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #df87f4;
/* rgb */ color: rgb(223, 135, 244);
/* oklch */ color: oklch(75.5% 0.175 319.7);
Tailwind
colors: {
  custom: {
    50: '#ebacf8',
    500: '#df87f4',
    950: '#000000',
  },
}
SCSS
$custom: #df87f4;
$custom-light: #ebacf8;
$custom-dark: #000000;
JSON
{
  "hex": "#df87f4",
  "rgb": {
    "r": 223,
    "g": 135,
    "b": 244
  },
  "hsl": {
    "h": 288.44,
    "s": 83.206,
    "l": 74.314
  },
  "oklch": {
    "l": 0.75483,
    "c": 0.17528,
    "h": 319.7
  },
  "luminance": 0.39548
}

Semantic roles & 50–950 ramp

primary
#DF87F4
secondary
#DCF4D7
accent
#E00630
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DF87F4

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

Preview Lab → · Contrast checker → · Palette generator →

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