#DF87FB#DF87FB

#DF87FB is a light, vivid purple. Relative luminance 0.400; OKLCH L 75.8% C 0.182 H 317.6°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#DF87FB
RGBrgb(223, 135, 251)
HSLhsl(286, 94%, 76%)
HSVhsv(286, 46%, 98%)
CMYKcmyk(11.2%, 46.2%, 0%, 1.6%)
CIE-LABlab(69.46, 52.07, -44.43)
CIE-LCHlch(69.46, 68.45, 319.53°)
OKLaboklab(75.82% 0.1348 -0.123)
OKLCHoklch(75.82% 0.182 317.6)
XYZxyz(56.5055, 39.9828, 95.9890)
Luminance0.3998 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF87FB #A3FB87
analogous
#A587FB #DF87FB #FB87DD
triadic
#DF87FB #FBDF87 #87FBDF
tetradic
#DF87FB #FBA587 #A3FB87 #87DDFB
square
#DF87FB #FBA587 #A3FB87 #87DDFB
split-complementary
#DF87FB #DDFB87 #87FBA5
monochromatic
#BF11F7 #CF4CF9 #DF87FB #EFC2FD #F7E1FE

Accessibility & contrast

On white

2.33
#DF87FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#DF87FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF87FB
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF87FB#FFFFFF#000000##000000
##DF87FB1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A4FF
Deuteranopia (green-blind)
#8BADF8
Tritanopia (blue-blind)
#DF97B5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #df87fb;
/* rgb */ color: rgb(223, 135, 251);
/* oklch */ color: oklch(75.8% 0.182 317.6);
Tailwind
colors: {
  custom: {
    50: '#ebacfd',
    500: '#df87fb',
    950: '#000000',
  },
}
SCSS
$custom: #df87fb;
$custom-light: #ebacfd;
$custom-dark: #000000;
JSON
{
  "hex": "#df87fb",
  "rgb": {
    "r": 223,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 285.517,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.75815,
    "c": 0.18246,
    "h": 317.6
  },
  "luminance": 0.39981
}

Semantic roles & 50–950 ramp

primary
#DF87FB
secondary
#DDF6D5
accent
#E60037
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DF87FB

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

Preview Lab → · Contrast checker → · Palette generator →

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