#D87FFD#D87FFD

#D87FFD is a light, vivid purple. Relative luminance 0.369; OKLCH L 74.0% C 0.194 H 315.2°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#D87FFD
RGBrgb(216, 127, 253)
HSLhsl(282, 97%, 75%)
HSVhsv(282, 50%, 99%)
CMYKcmyk(14.6%, 49.8%, 0%, 0.8%)
CIE-LABlab(67.18, 54.65, -49.16)
CIE-LCHlch(67.18, 73.50, 318.02°)
OKLaboklab(73.98% 0.1377 -0.1368)
OKLCHoklch(73.98% 0.194 315.2)
XYZxyz(53.6351, 36.8711, 97.2009)
Luminance0.3687 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87FFD #A4FD7F
analogous
#997FFD #D87FFD #FD7FE3
triadic
#D87FFD #FDD87F #7FFDD8
tetradic
#D87FFD #FD997F #A4FD7F #7FE3FD
square
#D87FFD #FD997F #A4FD7F #7FE3FD
split-complementary
#D87FFD #E3FD7F #7FFD99
monochromatic
#B306FB #C643FC #D87FFD #EABBFE #F6E1FF

Accessibility & contrast

On white

2.51
#D87FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#D87FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87FFD
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87FFD#FFFFFF#000000##000000
##D87FFD1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#7FA6FA
Tritanopia (blue-blind)
#D692B3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d87ffd;
/* rgb */ color: rgb(216, 127, 253);
/* oklch */ color: oklch(74.0% 0.194 315.2);
Tailwind
colors: {
  custom: {
    50: '#e6a7fe',
    500: '#d87ffd',
    950: '#000000',
  },
}
SCSS
$custom: #d87ffd;
$custom-light: #e6a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d87ffd",
  "rgb": {
    "r": 216,
    "g": 127,
    "b": 253
  },
  "hsl": {
    "h": 282.381,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73981,
    "c": 0.19409,
    "h": 315.2
  },
  "luminance": 0.3687
}

Semantic roles & 50–950 ramp

primary
#D87FFD
secondary
#DEF7D4
accent
#E60043
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D87FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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