#D870FC#D870FC

#D870FC is a light, highly saturated purple. Relative luminance 0.332; OKLCH L 71.9% C 0.216 H 316.6°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#D870FC
RGBrgb(216, 112, 252)
HSLhsl(285, 96%, 71%)
HSVhsv(285, 56%, 99%)
CMYKcmyk(14.3%, 55.6%, 0%, 1.2%)
CIE-LABlab(64.34, 61.82, -53.11)
CIE-LCHlch(64.34, 81.50, 319.33°)
OKLaboklab(71.87% 0.1569 -0.1482)
OKLCHoklch(71.87% 0.216 316.6)
XYZxyz(51.6812, 33.2173, 95.7658)
Luminance0.3322 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D870FC #94FC70
analogous
#9270FC #D870FC #FC70DA
triadic
#D870FC #FCD870 #70FCD8
tetradic
#D870FC #FC9270 #94FC70 #70DAFC
square
#D870FC #FC9270 #94FC70 #70DAFC
split-complementary
#D870FC #DAFC70 #70FC92
monochromatic
#B105ED #C834FB #D870FC #E8ACFD #F7E1FE

Accessibility & contrast

On white

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

On black

7.64
#D870FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D870FC
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D870FC#FFFFFF#000000##000000
##D870FC1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d870fc;
/* rgb */ color: rgb(216, 112, 252);
/* oklch */ color: oklch(71.9% 0.216 316.6);
Tailwind
colors: {
  custom: {
    50: '#e79dfe',
    500: '#d870fc',
    950: '#000000',
  },
}
SCSS
$custom: #d870fc;
$custom-light: #e79dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d870fc",
  "rgb": {
    "r": 216,
    "g": 112,
    "b": 252
  },
  "hsl": {
    "h": 284.571,
    "s": 95.89,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71871,
    "c": 0.21585,
    "h": 316.6
  },
  "luminance": 0.33216
}

Semantic roles & 50–950 ramp

primary
#D870FC
secondary
#DBF6D2
accent
#E6003B
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #D870FC

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

Preview Lab → · Contrast checker → · Palette generator →

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