#D879CD#D879CD

#D879CD is a light, vivid purple. Relative luminance 0.327; OKLCH L 70.9% C 0.157 H 331.5°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#D879CD
RGBrgb(216, 121, 205)
HSLhsl(307, 55%, 66%)
HSVhsv(307, 44%, 85%)
CMYKcmyk(0%, 44%, 5.1%, 15.3%)
CIE-LABlab(63.90, 48.65, -27.67)
CIE-LCHlch(63.90, 55.96, 330.37°)
OKLaboklab(70.86% 0.1381 -0.0751)
OKLCHoklch(70.86% 0.157 331.5)
XYZxyz(46.1753, 32.6840, 61.6222)
Luminance0.3268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D879CD #79D884
analogous
#B379D8 #D879CD #D8799D
triadic
#D879CD #CDD879 #79CDD8
tetradic
#D879CD #D8B379 #79D884 #799DD8
square
#D879CD #D8B379 #79D884 #799DD8
split-complementary
#D879CD #9DD879 #79D8B3
monochromatic
#A63099 #CA4ABB #D879CD #E6A8DF #F4D8F0

Accessibility & contrast

On white

2.79
#D879CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#D879CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D879CD
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D879CD#FFFFFF#000000##000000
##D879CD1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7692D0
Deuteranopia (green-blind)
#90A0CA
Tritanopia (blue-blind)
#DF809A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d879cd;
/* rgb */ color: rgb(216, 121, 205);
/* oklch */ color: oklch(70.9% 0.157 331.5);
Tailwind
colors: {
  custom: {
    50: '#e6a2dc',
    500: '#d879cd',
    950: '#000000',
  },
}
SCSS
$custom: #d879cd;
$custom-light: #e6a2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d879cd",
  "rgb": {
    "r": 216,
    "g": 121,
    "b": 205
  },
  "hsl": {
    "h": 306.947,
    "s": 54.913,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70858,
    "c": 0.15723,
    "h": 331.5
  },
  "luminance": 0.32681
}

Semantic roles & 50–950 ramp

primary
#D879CD
secondary
#C7E6CA
accent
#C23623
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D879CD

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

Preview Lab → · Contrast checker → · Palette generator →

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