#D87CF3#D87CF3

#D87CF3 is a light, vivid purple. Relative luminance 0.355; OKLCH L 73.0% C 0.189 H 318.2°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#D87CF3
RGBrgb(216, 124, 243)
HSLhsl(286, 83%, 72%)
HSVhsv(286, 49%, 95%)
CMYKcmyk(11.1%, 49%, 0%, 4.7%)
CIE-LABlab(66.13, 54.16, -45.33)
CIE-LCHlch(66.13, 70.63, 320.07°)
OKLaboklab(73.05% 0.1405 -0.1257)
OKLCHoklch(73.05% 0.189 318.2)
XYZxyz(51.7020, 35.4871, 88.9029)
Luminance0.3548 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87CF3 #97F37C
analogous
#9D7CF3 #D87CF3 #F37CD2
triadic
#D87CF3 #F3D87C #7CF3D8
tetradic
#D87CF3 #F39D7C #97F37C #7CD2F3
square
#D87CF3 #F39D7C #97F37C #7CD2F3
split-complementary
#D87CF3 #D2F37C #7CF39D
monochromatic
#B215E0 #C744EE #D87CF3 #E9B4F8 #F7E3FC

Accessibility & contrast

On white

2.59
#D87CF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#D87CF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87CF3
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87CF3#FFFFFF#000000##000000
##D87CF31.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#669BF7
Deuteranopia (green-blind)
#82A4F0
Tritanopia (blue-blind)
#D88DAC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d87cf3;
/* rgb */ color: rgb(216, 124, 243);
/* oklch */ color: oklch(73.0% 0.189 318.2);
Tailwind
colors: {
  custom: {
    50: '#e6a5f7',
    500: '#d87cf3',
    950: '#000000',
  },
}
SCSS
$custom: #d87cf3;
$custom-light: #e6a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d87cf3",
  "rgb": {
    "r": 216,
    "g": 124,
    "b": 243
  },
  "hsl": {
    "h": 286.387,
    "s": 83.217,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73046,
    "c": 0.18853,
    "h": 318.2
  },
  "luminance": 0.35485
}

Semantic roles & 50–950 ramp

primary
#D87CF3
secondary
#DDF4D6
accent
#E00637
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D87CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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