#D870FD#D870FD

#D870FD is a light, highly saturated purple. Relative luminance 0.333; OKLCH L 71.9% C 0.217 H 316.4°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#D870FD
RGBrgb(216, 112, 253)
HSLhsl(284, 97%, 72%)
HSVhsv(284, 56%, 99%)
CMYKcmyk(14.6%, 55.7%, 0%, 0.8%)
CIE-LABlab(64.39, 62.02, -53.58)
CIE-LCHlch(64.39, 81.96, 319.18°)
OKLaboklab(71.93% 0.157 -0.1496)
OKLCHoklch(71.93% 0.217 316.4)
XYZxyz(51.8400, 33.2809, 96.6026)
Luminance0.3328 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D870FD #95FD70
analogous
#9270FD #D870FD #FD70DC
triadic
#D870FD #FDD870 #70FDD8
tetradic
#D870FD #FD9270 #95FD70 #70DCFD
square
#D870FD #FD9270 #95FD70 #70DCFD
split-complementary
#D870FD #DCFD70 #70FD92
monochromatic
#B103EF #C834FC #D870FD #E8ACFE #F7E1FF

Accessibility & contrast

On white

2.74
#D870FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#D870FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D870FD
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D870FD#FFFFFF#000000##000000
##D870FD1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D96FF
Deuteranopia (green-blind)
#729FF9
Tritanopia (blue-blind)
#D687AC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d870fd;
/* rgb */ color: rgb(216, 112, 253);
/* oklch */ color: oklch(71.9% 0.217 316.4);
Tailwind
colors: {
  custom: {
    50: '#e79dfe',
    500: '#d870fd',
    950: '#000000',
  },
}
SCSS
$custom: #d870fd;
$custom-light: #e79dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d870fd",
  "rgb": {
    "r": 216,
    "g": 112,
    "b": 253
  },
  "hsl": {
    "h": 284.255,
    "s": 97.241,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71925,
    "c": 0.21683,
    "h": 316.4
  },
  "luminance": 0.33279
}

Semantic roles & 50–950 ramp

primary
#D870FD
secondary
#DCF7D2
accent
#E6003C
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #D870FD

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

Preview Lab → · Contrast checker → · Palette generator →

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