#D87EFB#D87EFB

#D87EFB is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.7% C 0.194 H 315.8°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#D87EFB
RGBrgb(216, 126, 251)
HSLhsl(283, 94%, 74%)
HSVhsv(283, 50%, 98%)
CMYKcmyk(13.9%, 49.8%, 0%, 1.6%)
CIE-LABlab(66.89, 54.75, -48.52)
CIE-LCHlch(66.89, 73.16, 318.45°)
OKLaboklab(73.74% 0.1388 -0.135)
OKLCHoklch(73.74% 0.194 315.8)
XYZxyz(53.1897, 36.4873, 95.4889)
Luminance0.3649 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87EFB #A1FB7E
analogous
#9A7EFB #D87EFB #FB7EE0
triadic
#D87EFB #FBD87E #7EFBD8
tetradic
#D87EFB #FB9A7E #A1FB7E #7EE0FB
square
#D87EFB #FB9A7E #A1FB7E #7EE0FB
split-complementary
#D87EFB #E0FB7E #7EFB9A
monochromatic
#B408F7 #C643F9 #D87EFB #EAB9FD #F6E1FE

Accessibility & contrast

On white

2.53
#D87EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#D87EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87EFB
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87EFB#FFFFFF#000000##000000
##D87EFB1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#649DFF
Deuteranopia (green-blind)
#7FA5F8
Tritanopia (blue-blind)
#D691B1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d87efb;
/* rgb */ color: rgb(216, 126, 251);
/* oklch */ color: oklch(73.7% 0.194 315.8);
Tailwind
colors: {
  custom: {
    50: '#e6a6fd',
    500: '#d87efb',
    950: '#000000',
  },
}
SCSS
$custom: #d87efb;
$custom-light: #e6a6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d87efb",
  "rgb": {
    "r": 216,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 283.2,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73735,
    "c": 0.19358,
    "h": 315.8
  },
  "luminance": 0.36486
}

Semantic roles & 50–950 ramp

primary
#D87EFB
secondary
#DEF6D5
accent
#E60040
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D87EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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