#D87FFC#D87FFC

#D87FFC is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.9% C 0.193 H 315.4°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#D87FFC
RGBrgb(216, 127, 252)
HSLhsl(283, 95%, 74%)
HSVhsv(283, 50%, 99%)
CMYKcmyk(14.3%, 49.6%, 0%, 1.2%)
CIE-LABlab(67.13, 54.44, -48.69)
CIE-LCHlch(67.13, 73.04, 318.19°)
OKLaboklab(73.93% 0.1376 -0.1354)
OKLCHoklch(73.93% 0.193 315.4)
XYZxyz(53.4762, 36.8075, 96.3642)
Luminance0.3681 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87FFC #A3FC7F
analogous
#9A7FFC #D87FFC #FC7FE2
triadic
#D87FFC #FCD87F #7FFCD8
tetradic
#D87FFC #FC9A7F #A3FC7F #7FE2FC
square
#D87FFC #FC9A7F #A3FC7F #7FE2FC
split-complementary
#D87FFC #E2FC7F #7FFC9A
monochromatic
#B407F9 #C643FB #D87FFC #EABBFD #F6E1FE

Accessibility & contrast

On white

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

On black

8.36
#D87FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87FFC
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87FFC#FFFFFF#000000##000000
##D87FFC1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d87ffc;
/* rgb */ color: rgb(216, 127, 252);
/* oklch */ color: oklch(73.9% 0.193 315.4);
Tailwind
colors: {
  custom: {
    50: '#e6a7fe',
    500: '#d87ffc',
    950: '#000000',
  },
}
SCSS
$custom: #d87ffc;
$custom-light: #e6a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d87ffc",
  "rgb": {
    "r": 216,
    "g": 127,
    "b": 252
  },
  "hsl": {
    "h": 282.72,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.7393,
    "c": 0.19305,
    "h": 315.4
  },
  "luminance": 0.36806
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D87FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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