#D87FFA#D87FFA

#D87FFA is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.8% C 0.191 H 316.0°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#D87FFA
RGBrgb(216, 127, 250)
HSLhsl(283, 92%, 74%)
HSVhsv(283, 49%, 98%)
CMYKcmyk(13.6%, 49.2%, 0%, 2%)
CIE-LABlab(67.04, 54.04, -47.74)
CIE-LCHlch(67.04, 72.11, 318.54°)
OKLaboklab(73.83% 0.1373 -0.1327)
OKLCHoklch(73.83% 0.191 316)
XYZxyz(53.1610, 36.6814, 94.7038)
Luminance0.3668 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87FFA #A1FA7F
analogous
#9B7FFA #D87FFA #FA7FDE
triadic
#D87FFA #FAD87F #7FFAD8
tetradic
#D87FFA #FA9B7F #A1FA7F #7FDEFA
square
#D87FFA #FA9B7F #A1FA7F #7FDEFA
split-complementary
#D87FFA #DEFA7F #7FFA9B
monochromatic
#B40AF5 #C644F8 #D87FFA #EABAFC #F6E2FE

Accessibility & contrast

On white

2.52
#D87FFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#D87FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87FFA
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87FFA#FFFFFF#000000##000000
##D87FFA1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#669EFE
Deuteranopia (green-blind)
#80A6F7
Tritanopia (blue-blind)
#D691B1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d87ffa;
/* rgb */ color: rgb(216, 127, 250);
/* oklch */ color: oklch(73.8% 0.191 316.0);
Tailwind
colors: {
  custom: {
    50: '#e6a7fc',
    500: '#d87ffa',
    950: '#000000',
  },
}
SCSS
$custom: #d87ffa;
$custom-light: #e6a7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d87ffa",
  "rgb": {
    "r": 216,
    "g": 127,
    "b": 250
  },
  "hsl": {
    "h": 283.415,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73828,
    "c": 0.19098,
    "h": 316
  },
  "luminance": 0.3668
}

Semantic roles & 50–950 ramp

primary
#D87FFA
secondary
#DEF6D5
accent
#E6003F
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D87FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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