#D870FB#D870FB

#D870FB is a light, highly saturated purple. Relative luminance 0.332; OKLCH L 71.8% C 0.215 H 316.9°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#D870FB
RGBrgb(216, 112, 251)
HSLhsl(285, 95%, 71%)
HSVhsv(285, 55%, 98%)
CMYKcmyk(13.9%, 55.4%, 0%, 1.6%)
CIE-LABlab(64.29, 61.63, -52.64)
CIE-LCHlch(64.29, 81.05, 319.50°)
OKLaboklab(71.82% 0.1569 -0.1468)
OKLCHoklch(71.82% 0.215 316.9)
XYZxyz(51.5231, 33.1541, 94.9334)
Luminance0.3315 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D870FB #93FB70
analogous
#9270FB #D870FB #FB70D8
triadic
#D870FB #FBD870 #70FBD8
tetradic
#D870FB #FB9270 #93FB70 #70D8FB
square
#D870FB #FB9270 #93FB70 #70D8FB
split-complementary
#D870FB #D8FB70 #70FB92
monochromatic
#B107EA #C834F9 #D870FB #E8ACFD #F7E1FE

Accessibility & contrast

On white

2.75
#D870FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#D870FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D870FB
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D870FB#FFFFFF#000000##000000
##D870FB1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F95FF
Deuteranopia (green-blind)
#739FF7
Tritanopia (blue-blind)
#D786AB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d870fb;
/* rgb */ color: rgb(216, 112, 251);
/* oklch */ color: oklch(71.8% 0.215 316.9);
Tailwind
colors: {
  custom: {
    50: '#e79dfd',
    500: '#d870fb',
    950: '#000000',
  },
}
SCSS
$custom: #d870fb;
$custom-light: #e79dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#d870fb",
  "rgb": {
    "r": 216,
    "g": 112,
    "b": 251
  },
  "hsl": {
    "h": 284.892,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71817,
    "c": 0.21487,
    "h": 316.9
  },
  "luminance": 0.33152
}

Semantic roles & 50–950 ramp

primary
#D870FB
secondary
#DAF6D1
accent
#E6003A
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #D870FB

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

Preview Lab → · Contrast checker → · Palette generator →

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