#D878CA#D878CA

#D878CA is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.6% C 0.156 H 332.7°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#D878CA
RGBrgb(216, 120, 202)
HSLhsl(309, 55%, 66%)
HSVhsv(309, 44%, 85%)
CMYKcmyk(0%, 44.4%, 6.5%, 15.3%)
CIE-LABlab(63.59, 48.64, -26.47)
CIE-LCHlch(63.59, 55.37, 331.45°)
OKLaboklab(70.58% 0.1389 -0.0717)
OKLCHoklch(70.58% 0.156 332.7)
XYZxyz(45.6958, 32.2988, 59.6931)
Luminance0.3230 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D878CA #78D886
analogous
#B678D8 #D878CA #D8789A
triadic
#D878CA #CAD878 #78CAD8
tetradic
#D878CA #D8B678 #78D886 #789AD8
square
#D878CA #D8B678 #78D886 #789AD8
split-complementary
#D878CA #9AD878 #78D8B6
monochromatic
#A63095 #CA49B7 #D878CA #E6A7DD #F3D7EF

Accessibility & contrast

On white

2.82
#D878CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#D878CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D878CA
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D878CA#FFFFFF#000000##000000
##D878CA1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7691CD
Deuteranopia (green-blind)
#909FC7
Tritanopia (blue-blind)
#E07E98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d878ca;
/* rgb */ color: rgb(216, 120, 202);
/* oklch */ color: oklch(70.6% 0.156 332.7);
Tailwind
colors: {
  custom: {
    50: '#e6a1da',
    500: '#d878ca',
    950: '#000000',
  },
}
SCSS
$custom: #d878ca;
$custom-light: #e6a1da;
$custom-dark: #000000;
JSON
{
  "hex": "#d878ca",
  "rgb": {
    "r": 216,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 308.75,
    "s": 55.172,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70584,
    "c": 0.15633,
    "h": 332.7
  },
  "luminance": 0.32296
}

Semantic roles & 50–950 ramp

primary
#D878CA
secondary
#C6E6CB
accent
#C33A23
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#160F15
muted
#847F83

Preview Lab

Preview with #D878CA

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

Preview Lab → · Contrast checker → · Palette generator →

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