#D870CD#D870CD

#D870CD is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.6% C 0.172 H 331.3°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#D870CD
RGBrgb(216, 112, 205)
HSLhsl(306, 57%, 64%)
HSVhsv(306, 48%, 85%)
CMYKcmyk(0%, 48.1%, 5.1%, 15.3%)
CIE-LABlab(62.17, 53.15, -30.35)
CIE-LCHlch(62.17, 61.21, 330.27°)
OKLaboklab(69.56% 0.151 -0.0826)
OKLCHoklch(69.56% 0.172 331.3)
XYZxyz(45.1322, 30.5978, 61.2745)
Luminance0.3059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D870CD #70D87B
analogous
#AF70D8 #D870CD #D87099
triadic
#D870CD #CDD870 #70CDD8
tetradic
#D870CD #D8AF70 #70D87B #7099D8
square
#D870CD #D8AF70 #70D87B #7099D8
split-complementary
#D870CD #99D870 #70D8AF
monochromatic
#A22C95 #CB40BC #D870CD #E5A0DE #F2D0EF

Accessibility & contrast

On white

2.95
#D870CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#D870CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D870CD
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D870CD#FFFFFF#000000##000000
##D870CD1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8DD0
Deuteranopia (green-blind)
#8A9CCA
Tritanopia (blue-blind)
#DF7895
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d870cd;
/* rgb */ color: rgb(216, 112, 205);
/* oklch */ color: oklch(69.6% 0.172 331.3);
Tailwind
colors: {
  custom: {
    50: '#e69cdc',
    500: '#d870cd',
    950: '#000000',
  },
}
SCSS
$custom: #d870cd;
$custom-light: #e69cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#d870cd",
  "rgb": {
    "r": 216,
    "g": 112,
    "b": 205
  },
  "hsl": {
    "h": 306.346,
    "s": 57.143,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69563,
    "c": 0.17215,
    "h": 331.3
  },
  "luminance": 0.30595
}

Semantic roles & 50–950 ramp

primary
#D870CD
secondary
#C0E4C4
accent
#C53221
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D870CD

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

Preview Lab → · Contrast checker → · Palette generator →

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