#DF87F0#DF87F0

#DF87F0 is a light, vivid purple. Relative luminance 0.393; OKLCH L 75.3% C 0.171 H 321.0°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#DF87F0
RGBrgb(223, 135, 240)
HSLhsl(290, 78%, 74%)
HSVhsv(290, 44%, 94%)
CMYKcmyk(7.1%, 43.8%, 0%, 5.9%)
CIE-LABlab(68.97, 49.94, -39.17)
CIE-LCHlch(68.97, 63.46, 321.89°)
OKLaboklab(75.3% 0.133 -0.1079)
OKLCHoklch(75.3% 0.171 321)
XYZxyz(54.8217, 39.3092, 87.1208)
Luminance0.3931 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF87F0 #98F087
analogous
#AA87F0 #DF87F0 #F087CC
triadic
#DF87F0 #F0DF87 #87F0DF
tetradic
#DF87F0 #F0AA87 #98F087 #87CCF0
square
#DF87F0 #F0AA87 #98F087 #87CCF0
split-complementary
#DF87F0 #CCF087 #87F0AA
monochromatic
#C11CE1 #D051E9 #DF87F0 #EEBDF7 #F8E4FC

Accessibility & contrast

On white

2.37
#DF87F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#DF87F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF87F0
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF87F0#FFFFFF#000000##000000
##DF87F01.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A2F4
Deuteranopia (green-blind)
#90ACED
Tritanopia (blue-blind)
#E194B0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #df87f0;
/* rgb */ color: rgb(223, 135, 240);
/* oklch */ color: oklch(75.3% 0.171 321.0);
Tailwind
colors: {
  custom: {
    50: '#ebacf5',
    500: '#df87f0',
    950: '#000000',
  },
}
SCSS
$custom: #df87f0;
$custom-light: #ebacf5;
$custom-dark: #000000;
JSON
{
  "hex": "#df87f0",
  "rgb": {
    "r": 223,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 290.286,
    "s": 77.778,
    "l": 73.529
  },
  "oklch": {
    "l": 0.75298,
    "c": 0.17122,
    "h": 321
  },
  "luminance": 0.39307
}

Semantic roles & 50–950 ramp

primary
#DF87F0
secondary
#DCF3D8
accent
#DA0B2D
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #DF87F0

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

Preview Lab → · Contrast checker → · Palette generator →

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