#D870CA#D870CA

#D870CA is a light, vivid purple. Relative luminance 0.305; OKLCH L 69.4% C 0.170 H 332.5°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#D870CA
RGBrgb(216, 112, 202)
HSLhsl(308, 57%, 64%)
HSVhsv(308, 48%, 85%)
CMYKcmyk(0%, 48.1%, 6.5%, 15.3%)
CIE-LABlab(62.04, 52.65, -28.85)
CIE-LCHlch(62.04, 60.03, 331.28°)
OKLaboklab(69.43% 0.1504 -0.0784)
OKLCHoklch(69.43% 0.17 332.5)
XYZxyz(44.7735, 30.4543, 59.3856)
Luminance0.3045 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D870CA #70D87E
analogous
#B270D8 #D870CA #D87096
triadic
#D870CA #CAD870 #70CAD8
tetradic
#D870CA #D8B270 #70D87E #7096D8
square
#D870CA #D8B270 #70D87E #7096D8
split-complementary
#D870CA #96D870 #70D8B2
monochromatic
#A22C92 #CB40B8 #D870CA #E5A0DC #F2D0EE

Accessibility & contrast

On white

2.96
#D870CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#D870CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D870CA
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D870CA#FFFFFF#000000##000000
##D870CA1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8DCD
Deuteranopia (green-blind)
#8B9BC7
Tritanopia (blue-blind)
#E07794
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d870ca;
/* rgb */ color: rgb(216, 112, 202);
/* oklch */ color: oklch(69.4% 0.170 332.5);
Tailwind
colors: {
  custom: {
    50: '#e69cda',
    500: '#d870ca',
    950: '#000000',
  },
}
SCSS
$custom: #d870ca;
$custom-light: #e69cda;
$custom-dark: #000000;
JSON
{
  "hex": "#d870ca",
  "rgb": {
    "r": 216,
    "g": 112,
    "b": 202
  },
  "hsl": {
    "h": 308.077,
    "s": 57.143,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69432,
    "c": 0.16962,
    "h": 332.5
  },
  "luminance": 0.30452
}

Semantic roles & 50–950 ramp

primary
#D870CA
secondary
#C0E4C5
accent
#C53721
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160E15
muted
#847E83

Preview Lab

Preview with #D870CA

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

Preview Lab → · Contrast checker → · Palette generator →

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