#D87DF3#D87DF3

#D87DF3 is a light, vivid purple. Relative luminance 0.357; OKLCH L 73.2% C 0.187 H 318.1°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#D87DF3
RGBrgb(216, 125, 243)
HSLhsl(286, 83%, 72%)
HSVhsv(286, 49%, 95%)
CMYKcmyk(11.1%, 48.6%, 0%, 4.7%)
CIE-LABlab(66.32, 53.66, -45.03)
CIE-LCHlch(66.32, 70.05, 320.00°)
OKLaboklab(73.19% 0.1392 -0.1248)
OKLCHoklch(73.19% 0.187 318.1)
XYZxyz(51.8280, 35.7390, 88.9448)
Luminance0.3574 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87DF3 #98F37D
analogous
#9D7DF3 #D87DF3 #F37DD3
triadic
#D87DF3 #F3D87D #7DF3D8
tetradic
#D87DF3 #F39D7D #98F37D #7DD3F3
square
#D87DF3 #F39D7D #98F37D #7DD3F3
split-complementary
#D87DF3 #D3F37D #7DF39D
monochromatic
#B215E1 #C745EE #D87DF3 #E9B5F8 #F7E3FC

Accessibility & contrast

On white

2.58
#D87DF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#D87DF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87DF3
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87DF3#FFFFFF#000000##000000
##D87DF31.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#679BF7
Deuteranopia (green-blind)
#82A4F0
Tritanopia (blue-blind)
#D88EAD
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d87df3;
/* rgb */ color: rgb(216, 125, 243);
/* oklch */ color: oklch(73.2% 0.187 318.1);
Tailwind
colors: {
  custom: {
    50: '#e6a5f7',
    500: '#d87df3',
    950: '#000000',
  },
}
SCSS
$custom: #d87df3;
$custom-light: #e6a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d87df3",
  "rgb": {
    "r": 216,
    "g": 125,
    "b": 243
  },
  "hsl": {
    "h": 286.271,
    "s": 83.099,
    "l": 72.157
  },
  "oklch": {
    "l": 0.7319,
    "c": 0.18694,
    "h": 318.1
  },
  "luminance": 0.35737
}

Semantic roles & 50–950 ramp

primary
#D87DF3
secondary
#DDF4D7
accent
#E00638
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D87DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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