#D87FF3#D87FF3

#D87FF3 is a light, vivid purple. Relative luminance 0.362; OKLCH L 73.5% C 0.184 H 317.9°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#D87FF3
RGBrgb(216, 127, 243)
HSLhsl(286, 83%, 73%)
HSVhsv(286, 48%, 95%)
CMYKcmyk(11.1%, 47.7%, 0%, 4.7%)
CIE-LABlab(66.71, 52.65, -44.42)
CIE-LCHlch(66.71, 68.88, 319.85°)
OKLaboklab(73.48% 0.1364 -0.1231)
OKLCHoklch(73.48% 0.184 317.9)
XYZxyz(52.0837, 36.2505, 89.0301)
Luminance0.3625 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87FF3 #9AF37F
analogous
#9E7FF3 #D87FF3 #F37FD4
triadic
#D87FF3 #F3D87F #7FF3D8
tetradic
#D87FF3 #F39E7F #9AF37F #7FD4F3
square
#D87FF3 #F39E7F #9AF37F #7FD4F3
split-complementary
#D87FF3 #D4F37F #7FF39E
monochromatic
#B315E2 #C747EE #D87FF3 #E9B7F8 #F6E3FC

Accessibility & contrast

On white

2.55
#D87FF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#D87FF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87FF3
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87FF3#FFFFFF#000000##000000
##D87FF31.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9CF7
Deuteranopia (green-blind)
#84A5F0
Tritanopia (blue-blind)
#D88FAE
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d87ff3;
/* rgb */ color: rgb(216, 127, 243);
/* oklch */ color: oklch(73.5% 0.184 317.9);
Tailwind
colors: {
  custom: {
    50: '#e6a7f7',
    500: '#d87ff3',
    950: '#000000',
  },
}
SCSS
$custom: #d87ff3;
$custom-light: #e6a7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d87ff3",
  "rgb": {
    "r": 216,
    "g": 127,
    "b": 243
  },
  "hsl": {
    "h": 286.034,
    "s": 82.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.7348,
    "c": 0.18375,
    "h": 317.9
  },
  "luminance": 0.36249
}

Semantic roles & 50–950 ramp

primary
#D87FF3
secondary
#DEF4D7
accent
#DF0639
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D87FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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