#D87BEB#D87BEB

#D87BEB is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.5% C 0.182 H 320.6°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#D87BEB
RGBrgb(216, 123, 235)
HSLhsl(290, 74%, 70%)
HSVhsv(290, 48%, 92%)
CMYKcmyk(8.1%, 47.7%, 0%, 7.8%)
CIE-LABlab(65.57, 53.11, -41.80)
CIE-LCHlch(65.57, 67.59, 321.80°)
OKLaboklab(72.51% 0.1408 -0.1155)
OKLCHoklch(72.51% 0.182 320.6)
XYZxyz(50.3955, 34.7650, 82.6369)
Luminance0.3476 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87BEB #8EEB7B
analogous
#A07BEB #D87BEB #EB7BC6
triadic
#D87BEB #EBD87B #7BEBD8
tetradic
#D87BEB #EBA07B #8EEB7B #7BC6EB
square
#D87BEB #EBA07B #8EEB7B #7BC6EB
split-complementary
#D87BEB #C6EB7B #7BEBA0
monochromatic
#AF1FCD #C846E3 #D87BEB #E8B0F3 #F7E4FB

Accessibility & contrast

On white

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

On black

7.95
#D87BEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87BEB
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87BEB#FFFFFF#000000##000000
##D87BEB1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99EF
Deuteranopia (green-blind)
#85A3E8
Tritanopia (blue-blind)
#DA8AA8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d87beb;
/* rgb */ color: rgb(216, 123, 235);
/* oklch */ color: oklch(72.5% 0.182 320.6);
Tailwind
colors: {
  custom: {
    50: '#e6a4f2',
    500: '#d87beb',
    950: '#000000',
  },
}
SCSS
$custom: #d87beb;
$custom-light: #e6a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d87beb",
  "rgb": {
    "r": 216,
    "g": 123,
    "b": 235
  },
  "hsl": {
    "h": 289.821,
    "s": 73.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.72511,
    "c": 0.1821,
    "h": 320.6
  },
  "luminance": 0.34763
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D87BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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