#D87BEC#D87BEC

#D87BEC is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.6% C 0.183 H 320.3°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#D87BEC
RGBrgb(216, 123, 236)
HSLhsl(289, 75%, 70%)
HSVhsv(289, 48%, 93%)
CMYKcmyk(8.5%, 47.9%, 0%, 7.5%)
CIE-LABlab(65.61, 53.31, -42.28)
CIE-LCHlch(65.61, 68.04, 321.58°)
OKLaboklab(72.56% 0.1409 -0.1169)
OKLCHoklch(72.56% 0.183 320.3)
XYZxyz(50.5403, 34.8229, 83.3999)
Luminance0.3482 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87BEC #8FEC7B
analogous
#A07BEC #D87BEC #EC7BC7
triadic
#D87BEC #ECD87B #7BECD8
tetradic
#D87BEC #ECA07B #8FEC7B #7BC7EC
square
#D87BEC #ECA07B #8FEC7B #7BC7EC
split-complementary
#D87BEC #C7EC7B #7BECA0
monochromatic
#AF1ECF #C846E4 #D87BEC #E8B0F4 #F7E4FB

Accessibility & contrast

On white

2.64
#D87BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#D87BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87BEC
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87BEC#FFFFFF#000000##000000
##D87BEC1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F0
Deuteranopia (green-blind)
#84A3E9
Tritanopia (blue-blind)
#D98AA9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d87bec;
/* rgb */ color: rgb(216, 123, 236);
/* oklch */ color: oklch(72.6% 0.183 320.3);
Tailwind
colors: {
  custom: {
    50: '#e6a4f2',
    500: '#d87bec',
    950: '#000000',
  },
}
SCSS
$custom: #d87bec;
$custom-light: #e6a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d87bec",
  "rgb": {
    "r": 216,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 289.381,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.72559,
    "c": 0.1831,
    "h": 320.3
  },
  "luminance": 0.34821
}

Semantic roles & 50–950 ramp

primary
#D87BEC
secondary
#D7F1D2
accent
#D70F32
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D87BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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