#D87BEF#D87BEF

#D87BEF is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.7% C 0.186 H 319.4°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#D87BEF
RGBrgb(216, 123, 239)
HSLhsl(288, 78%, 71%)
HSVhsv(288, 49%, 94%)
CMYKcmyk(9.6%, 48.5%, 0%, 6.3%)
CIE-LABlab(65.75, 53.89, -43.73)
CIE-LCHlch(65.75, 69.39, 320.94°)
OKLaboklab(72.71% 0.1413 -0.1211)
OKLCHoklch(72.71% 0.186 319.4)
XYZxyz(50.9799, 34.9987, 85.7146)
Luminance0.3500 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87BEF #92EF7B
analogous
#9E7BEF #D87BEF #EF7BCC
triadic
#D87BEF #EFD87B #7BEFD8
tetradic
#D87BEF #EF9E7B #92EF7B #7BCCEF
square
#D87BEF #EF9E7B #92EF7B #7BCCEF
split-complementary
#D87BEF #CCEF7B #7BEF9E
monochromatic
#B01AD6 #C844E8 #D87BEF #E8B2F6 #F7E4FC

Accessibility & contrast

On white

2.63
#D87BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#D87BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87BEF
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87BEF#FFFFFF#000000##000000
##D87BEF1.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F3
Deuteranopia (green-blind)
#83A3EC
Tritanopia (blue-blind)
#D98BAA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d87bef;
/* rgb */ color: rgb(216, 123, 239);
/* oklch */ color: oklch(72.7% 0.186 319.4);
Tailwind
colors: {
  custom: {
    50: '#e6a4f4',
    500: '#d87bef',
    950: '#000000',
  },
}
SCSS
$custom: #d87bef;
$custom-light: #e6a4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d87bef",
  "rgb": {
    "r": 216,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 288.103,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72705,
    "c": 0.18609,
    "h": 319.4
  },
  "luminance": 0.34997
}

Semantic roles & 50–950 ramp

primary
#D87BEF
secondary
#DAF2D3
accent
#DB0B34
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D87BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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