#D87AEB#D87AEB

#D87AEB is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.4% C 0.184 H 320.7°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#D87AEB
RGBrgb(216, 122, 235)
HSLhsl(290, 74%, 70%)
HSVhsv(290, 48%, 92%)
CMYKcmyk(8.1%, 48.1%, 0%, 7.8%)
CIE-LABlab(65.37, 53.62, -42.11)
CIE-LCHlch(65.37, 68.17, 321.86°)
OKLaboklab(72.37% 0.1422 -0.1164)
OKLCHoklch(72.37% 0.184 320.7)
XYZxyz(50.2720, 34.5182, 82.5957)
Luminance0.3452 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87AEB #8DEB7A
analogous
#A07AEB #D87AEB #EB7AC5
triadic
#D87AEB #EBD87A #7AEBD8
tetradic
#D87AEB #EBA07A #8DEB7A #7AC5EB
square
#D87AEB #EBA07A #8DEB7A #7AC5EB
split-complementary
#D87AEB #C5EB7A #7AEBA0
monochromatic
#AF1FCC #C845E3 #D87AEB #E8AFF3 #F7E4FB

Accessibility & contrast

On white

2.66
#D87AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#D87AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87AEB
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87AEB#FFFFFF#000000##000000
##D87AEB1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898EF
Deuteranopia (green-blind)
#84A2E8
Tritanopia (blue-blind)
#DA89A8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d87aeb;
/* rgb */ color: rgb(216, 122, 235);
/* oklch */ color: oklch(72.4% 0.184 320.7);
Tailwind
colors: {
  custom: {
    50: '#e6a3f2',
    500: '#d87aeb',
    950: '#000000',
  },
}
SCSS
$custom: #d87aeb;
$custom-light: #e6a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d87aeb",
  "rgb": {
    "r": 216,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 289.912,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.72367,
    "c": 0.18371,
    "h": 320.7
  },
  "luminance": 0.34516
}

Semantic roles & 50–950 ramp

primary
#D87AEB
secondary
#D6F0D1
accent
#D61031
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D87AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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