#D87AF8#D87AF8

#D87AF8 is a light, vivid purple. Relative luminance 0.353; OKLCH L 73.0% C 0.197 H 316.9°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#D87AF8
RGBrgb(216, 122, 248)
HSLhsl(285, 90%, 73%)
HSVhsv(285, 51%, 97%)
CMYKcmyk(12.9%, 50.8%, 0%, 2.7%)
CIE-LABlab(65.98, 56.15, -48.31)
CIE-LCHlch(65.98, 74.08, 319.29°)
OKLaboklab(73.02% 0.1437 -0.1343)
OKLCHoklch(73.02% 0.197 316.9)
XYZxyz(52.2193, 35.2970, 92.8510)
Luminance0.3529 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87AF8 #9AF87A
analogous
#997AF8 #D87AF8 #F87AD9
triadic
#D87AF8 #F8D87A #7AF8D8
tetradic
#D87AF8 #F8997A #9AF87A #7AD9F8
square
#D87AF8 #F8997A #9AF87A #7AD9F8
split-complementary
#D87AF8 #D9F87A #7AF899
monochromatic
#B30CEB #C740F5 #D87AF8 #E9B4FB #F6E2FD

Accessibility & contrast

On white

2.61
#D87AF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#D87AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87AF8
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87AF8#FFFFFF#000000##000000
##D87AF81.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#609AFC
Deuteranopia (green-blind)
#7DA3F5
Tritanopia (blue-blind)
#D78DAE
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d87af8;
/* rgb */ color: rgb(216, 122, 248);
/* oklch */ color: oklch(73.0% 0.197 316.9);
Tailwind
colors: {
  custom: {
    50: '#e6a3fb',
    500: '#d87af8',
    950: '#000000',
  },
}
SCSS
$custom: #d87af8;
$custom-light: #e6a3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d87af8",
  "rgb": {
    "r": 216,
    "g": 122,
    "b": 248
  },
  "hsl": {
    "h": 284.762,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73015,
    "c": 0.19674,
    "h": 316.9
  },
  "luminance": 0.35295
}

Semantic roles & 50–950 ramp

primary
#D87AF8
secondary
#DEF6D5
accent
#E6003A
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D87AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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