#D87DFA#D87DFA

#D87DFA is a light, vivid purple. Relative luminance 0.362; OKLCH L 73.5% C 0.194 H 316.2°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#D87DFA
RGBrgb(216, 125, 250)
HSLhsl(284, 93%, 74%)
HSVhsv(284, 50%, 98%)
CMYKcmyk(13.6%, 50%, 0%, 2%)
CIE-LABlab(66.65, 55.05, -48.36)
CIE-LCHlch(66.65, 73.27, 318.70°)
OKLaboklab(73.54% 0.14 -0.1345)
OKLCHoklch(73.54% 0.194 316.2)
XYZxyz(52.9052, 36.1699, 94.6185)
Luminance0.3617 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87DFA #9FFA7D
analogous
#997DFA #D87DFA #FA7DDD
triadic
#D87DFA #FAD87D #7DFAD8
tetradic
#D87DFA #FA997D #9FFA7D #7DDDFA
square
#D87DFA #FA997D #9FFA7D #7DDDFA
split-complementary
#D87DFA #DDFA7D #7DFA99
monochromatic
#B409F3 #C642F8 #D87DFA #EAB8FC #F6E2FE

Accessibility & contrast

On white

2.55
#D87DFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#D87DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87DFA
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87DFA#FFFFFF#000000##000000
##D87DFA1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#639CFE
Deuteranopia (green-blind)
#7FA5F7
Tritanopia (blue-blind)
#D690B0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d87dfa;
/* rgb */ color: rgb(216, 125, 250);
/* oklch */ color: oklch(73.5% 0.194 316.2);
Tailwind
colors: {
  custom: {
    50: '#e6a5fc',
    500: '#d87dfa',
    950: '#000000',
  },
}
SCSS
$custom: #d87dfa;
$custom-light: #e6a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d87dfa",
  "rgb": {
    "r": 216,
    "g": 125,
    "b": 250
  },
  "hsl": {
    "h": 283.68,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73541,
    "c": 0.19411,
    "h": 316.2
  },
  "luminance": 0.36168
}

Semantic roles & 50–950 ramp

primary
#D87DFA
secondary
#DEF6D5
accent
#E6003E
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D87DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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