#D879CB#D879CB

#D879CB is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.8% C 0.155 H 332.3°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#D879CB
RGBrgb(216, 121, 203)
HSLhsl(308, 55%, 66%)
HSVhsv(308, 44%, 85%)
CMYKcmyk(0%, 44%, 6%, 15.3%)
CIE-LABlab(63.83, 48.30, -26.66)
CIE-LCHlch(63.83, 55.17, 331.10°)
OKLaboklab(70.77% 0.1377 -0.0723)
OKLCHoklch(70.77% 0.156 332.3)
XYZxyz(45.9355, 32.5881, 60.3589)
Luminance0.3258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D879CB #79D886
analogous
#B579D8 #D879CB #D8799B
triadic
#D879CB #CBD879 #79CBD8
tetradic
#D879CB #D8B579 #79D886 #799BD8
square
#D879CB #D8B579 #79D886 #799BD8
split-complementary
#D879CB #9BD879 #79D8B5
monochromatic
#A63096 #CA4AB9 #D879CB #E6A8DD #F4D8F0

Accessibility & contrast

On white

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

On black

7.52
#D879CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D879CB
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D879CB#FFFFFF#000000##000000
##D879CB1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7792CE
Deuteranopia (green-blind)
#90A0C8
Tritanopia (blue-blind)
#DF7F99
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d879cb;
/* rgb */ color: rgb(216, 121, 203);
/* oklch */ color: oklch(70.8% 0.155 332.3);
Tailwind
colors: {
  custom: {
    50: '#e6a2db',
    500: '#d879cb',
    950: '#000000',
  },
}
SCSS
$custom: #d879cb;
$custom-light: #e6a2db;
$custom-dark: #000000;
JSON
{
  "hex": "#d879cb",
  "rgb": {
    "r": 216,
    "g": 121,
    "b": 203
  },
  "hsl": {
    "h": 308.211,
    "s": 54.913,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70773,
    "c": 0.1555,
    "h": 332.3
  },
  "luminance": 0.32585
}

Semantic roles & 50–950 ramp

primary
#D879CB
secondary
#C7E6CB
accent
#C23923
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D879CB

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

Preview Lab → · Contrast checker → · Palette generator →

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