#D870CB#D870CB

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

Color values

HEX#D870CB
RGBrgb(216, 112, 203)
HSLhsl(308, 57%, 64%)
HSVhsv(308, 48%, 85%)
CMYKcmyk(0%, 48.1%, 6%, 15.3%)
CIE-LABlab(62.08, 52.81, -29.35)
CIE-LCHlch(62.08, 60.42, 330.94°)
OKLaboklab(69.47% 0.1506 -0.0798)
OKLCHoklch(69.47% 0.17 332.1)
XYZxyz(44.8923, 30.5018, 60.0112)
Luminance0.3050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D870CB #70D87D
analogous
#B170D8 #D870CB #D87097
triadic
#D870CB #CBD870 #70CBD8
tetradic
#D870CB #D8B170 #70D87D #7097D8
square
#D870CB #D8B170 #70D87D #7097D8
split-complementary
#D870CB #97D870 #70D8B1
monochromatic
#A22C93 #CB40BA #D870CB #E5A0DC #F2D0EE

Accessibility & contrast

On white

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

On black

7.10
#D870CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D870CB
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D870CB#FFFFFF#000000##000000
##D870CB1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d870cb;
/* rgb */ color: rgb(216, 112, 203);
/* oklch */ color: oklch(69.5% 0.170 332.1);
Tailwind
colors: {
  custom: {
    50: '#e69cdb',
    500: '#d870cb',
    950: '#000000',
  },
}
SCSS
$custom: #d870cb;
$custom-light: #e69cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#d870cb",
  "rgb": {
    "r": 216,
    "g": 112,
    "b": 203
  },
  "hsl": {
    "h": 307.5,
    "s": 57.143,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69475,
    "c": 0.17045,
    "h": 332.1
  },
  "luminance": 0.30499
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D870CB

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

Preview Lab → · Contrast checker → · Palette generator →

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