#DF87F1#DF87F1

#DF87F1 is a light, vivid purple. Relative luminance 0.394; OKLCH L 75.3% C 0.172 H 320.6°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#DF87F1
RGBrgb(223, 135, 241)
HSLhsl(290, 79%, 74%)
HSVhsv(290, 44%, 95%)
CMYKcmyk(7.5%, 44%, 0%, 5.5%)
CIE-LABlab(69.02, 50.13, -39.65)
CIE-LCHlch(69.02, 63.91, 321.66°)
OKLaboklab(75.34% 0.1332 -0.1092)
OKLCHoklch(75.34% 0.172 320.6)
XYZxyz(54.9707, 39.3688, 87.9053)
Luminance0.3937 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF87F1 #99F187
analogous
#AA87F1 #DF87F1 #F187CE
triadic
#DF87F1 #F1DF87 #87F1DF
tetradic
#DF87F1 #F1AA87 #99F187 #87CEF1
square
#DF87F1 #F1AA87 #99F187 #87CEF1
split-complementary
#DF87F1 #CEF187 #87F1AA
monochromatic
#C11AE3 #D050EB #DF87F1 #EEBEF7 #F8E4FC

Accessibility & contrast

On white

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

On black

8.87
#DF87F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF87F1
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF87F1#FFFFFF#000000##000000
##DF87F11.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A2F5
Deuteranopia (green-blind)
#90ACEE
Tritanopia (blue-blind)
#E194B1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #df87f1;
/* rgb */ color: rgb(223, 135, 241);
/* oklch */ color: oklch(75.3% 0.172 320.6);
Tailwind
colors: {
  custom: {
    50: '#ebacf6',
    500: '#df87f1',
    950: '#000000',
  },
}
SCSS
$custom: #df87f1;
$custom-light: #ebacf6;
$custom-dark: #000000;
JSON
{
  "hex": "#df87f1",
  "rgb": {
    "r": 223,
    "g": 135,
    "b": 241
  },
  "hsl": {
    "h": 289.811,
    "s": 79.104,
    "l": 73.725
  },
  "oklch": {
    "l": 0.75344,
    "c": 0.17224,
    "h": 320.6
  },
  "luminance": 0.39367
}

Semantic roles & 50–950 ramp

primary
#DF87F1
secondary
#DCF4D7
accent
#DB0A2E
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #DF87F1

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

Preview Lab → · Contrast checker → · Palette generator →

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