#DF87F5#DF87F5

#DF87F5 is a light, vivid purple. Relative luminance 0.396; OKLCH L 75.5% C 0.176 H 319.4°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#DF87F5
RGBrgb(223, 135, 245)
HSLhsl(288, 85%, 75%)
HSVhsv(288, 45%, 96%)
CMYKcmyk(9%, 44.9%, 0%, 3.9%)
CIE-LABlab(69.19, 50.90, -41.57)
CIE-LCHlch(69.19, 65.72, 320.76°)
OKLaboklab(75.53% 0.1338 -0.1148)
OKLCHoklch(75.53% 0.176 319.4)
XYZxyz(55.5747, 39.6104, 91.0866)
Luminance0.3961 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF87F5 #9DF587
analogous
#A887F5 #DF87F5 #F587D4
triadic
#DF87F5 #F5DF87 #87F5DF
tetradic
#DF87F5 #F5A887 #9DF587 #87D4F5
square
#DF87F5 #F5A887 #9DF587 #87D4F5
split-complementary
#DF87F5 #D4F587 #87F5A8
monochromatic
#C116EC #D04FF0 #DF87F5 #EEBFFA #F7E3FD

Accessibility & contrast

On white

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

On black

8.92
#DF87F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF87F5
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF87F5#FFFFFF#000000##000000
##DF87F51.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A3F9
Deuteranopia (green-blind)
#8EACF2
Tritanopia (blue-blind)
#E095B3
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #df87f5;
/* rgb */ color: rgb(223, 135, 245);
/* oklch */ color: oklch(75.5% 0.176 319.4);
Tailwind
colors: {
  custom: {
    50: '#ebacf9',
    500: '#df87f5',
    950: '#000000',
  },
}
SCSS
$custom: #df87f5;
$custom-light: #ebacf9;
$custom-dark: #000000;
JSON
{
  "hex": "#df87f5",
  "rgb": {
    "r": 223,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 288,
    "s": 84.615,
    "l": 74.51
  },
  "oklch": {
    "l": 0.7553,
    "c": 0.1763,
    "h": 319.4
  },
  "luminance": 0.39608
}

Semantic roles & 50–950 ramp

primary
#DF87F5
secondary
#DCF5D6
accent
#E10431
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DF87F5

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

Preview Lab → · Contrast checker → · Palette generator →

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