#D879DE#D879DE

#D879DE is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.6% C 0.173 H 325.0°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#D879DE
RGBrgb(216, 121, 222)
HSLhsl(296, 60%, 67%)
HSVhsv(296, 45%, 87%)
CMYKcmyk(2.7%, 45.5%, 0%, 12.9%)
CIE-LABlab(64.60, 51.68, -36.09)
CIE-LCHlch(64.60, 63.04, 325.07°)
OKLaboklab(71.61% 0.1415 -0.0991)
OKLCHoklch(71.61% 0.173 325)
XYZxyz(48.3399, 33.5499, 73.0226)
Luminance0.3355 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D879DE #7FDE79
analogous
#A679DE #D879DE #DE79B1
triadic
#D879DE #DED879 #79DED8
tetradic
#D879DE #DEA679 #7FDE79 #79B1DE
square
#D879DE #DEA679 #7FDE79 #79B1DE
split-complementary
#D879DE #B1DE79 #79DEA6
monochromatic
#A92CB1 #CA48D2 #D879DE #E6AAEA #F5DBF6

Accessibility & contrast

On white

2.72
#D879DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#D879DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D879DE
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D879DE#FFFFFF#000000##000000
##D879DE1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E95E1
Deuteranopia (green-blind)
#89A1DB
Tritanopia (blue-blind)
#DC84A1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d879de;
/* rgb */ color: rgb(216, 121, 222);
/* oklch */ color: oklch(71.6% 0.173 325.0);
Tailwind
colors: {
  custom: {
    50: '#e6a2e8',
    500: '#d879de',
    950: '#000000',
  },
}
SCSS
$custom: #d879de;
$custom-light: #e6a2e8;
$custom-dark: #000000;
JSON
{
  "hex": "#d879de",
  "rgb": {
    "r": 216,
    "g": 121,
    "b": 222
  },
  "hsl": {
    "h": 296.436,
    "s": 60.479,
    "l": 67.255
  },
  "oklch": {
    "l": 0.71609,
    "c": 0.17274,
    "h": 325
  },
  "luminance": 0.33548
}

Semantic roles & 50–950 ramp

primary
#D879DE
secondary
#CBE9C9
accent
#C81D27
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D879DE

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

Preview Lab → · Contrast checker → · Palette generator →

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