#DF87F3#DF87F3

#DF87F3 is a light, vivid purple. Relative luminance 0.395; OKLCH L 75.4% C 0.174 H 320.0°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#DF87F3
RGBrgb(223, 135, 243)
HSLhsl(289, 82%, 74%)
HSVhsv(289, 44%, 95%)
CMYKcmyk(8.2%, 44.4%, 0%, 4.7%)
CIE-LABlab(69.10, 50.51, -40.61)
CIE-LCHlch(69.10, 64.81, 321.20°)
OKLaboklab(75.44% 0.1335 -0.112)
OKLCHoklch(75.44% 0.174 320)
XYZxyz(55.2710, 39.4890, 89.4873)
Luminance0.3949 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF87F3 #9BF387
analogous
#A987F3 #DF87F3 #F387D1
triadic
#DF87F3 #F3DF87 #87F3DF
tetradic
#DF87F3 #F3A987 #9BF387 #87D1F3
square
#DF87F3 #F3A987 #9BF387 #87D1F3
split-complementary
#DF87F3 #D1F387 #87F3A9
monochromatic
#C118E8 #D04FED #DF87F3 #EEBFF9 #F8E3FC

Accessibility & contrast

On white

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

On black

8.90
#DF87F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF87F3
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF87F3#FFFFFF#000000##000000
##DF87F31.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A3F7
Deuteranopia (green-blind)
#8FACF0
Tritanopia (blue-blind)
#E095B2
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #df87f3;
/* rgb */ color: rgb(223, 135, 243);
/* oklch */ color: oklch(75.4% 0.174 320.0);
Tailwind
colors: {
  custom: {
    50: '#ebacf7',
    500: '#df87f3',
    950: '#000000',
  },
}
SCSS
$custom: #df87f3;
$custom-light: #ebacf7;
$custom-dark: #000000;
JSON
{
  "hex": "#df87f3",
  "rgb": {
    "r": 223,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 288.889,
    "s": 81.818,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75436,
    "c": 0.17427,
    "h": 320
  },
  "luminance": 0.39487
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF87F3

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

Preview Lab → · Contrast checker → · Palette generator →

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