#D879CA#D879CA

#D879CA is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.7% C 0.155 H 332.7°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#D879CA
RGBrgb(216, 121, 202)
HSLhsl(309, 55%, 66%)
HSVhsv(309, 44%, 85%)
CMYKcmyk(0%, 44%, 6.5%, 15.3%)
CIE-LABlab(63.79, 48.13, -26.16)
CIE-LCHlch(63.79, 54.78, 331.47°)
OKLaboklab(70.73% 0.1375 -0.0709)
OKLCHoklch(70.73% 0.155 332.7)
XYZxyz(45.8167, 32.5406, 59.7334)
Luminance0.3254 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D879CA #79D887
analogous
#B679D8 #D879CA #D8799A
triadic
#D879CA #CAD879 #79CAD8
tetradic
#D879CA #D8B679 #79D887 #799AD8
square
#D879CA #D8B679 #79D887 #799AD8
split-complementary
#D879CA #9AD879 #79D8B6
monochromatic
#A63095 #CA4AB7 #D879CA #E6A8DD #F4D8EF

Accessibility & contrast

On white

2.80
#D879CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#D879CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D879CA
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D879CA#FFFFFF#000000##000000
##D879CA1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7792CD
Deuteranopia (green-blind)
#919FC7
Tritanopia (blue-blind)
#E07F98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d879ca;
/* rgb */ color: rgb(216, 121, 202);
/* oklch */ color: oklch(70.7% 0.155 332.7);
Tailwind
colors: {
  custom: {
    50: '#e6a2da',
    500: '#d879ca',
    950: '#000000',
  },
}
SCSS
$custom: #d879ca;
$custom-light: #e6a2da;
$custom-dark: #000000;
JSON
{
  "hex": "#d879ca",
  "rgb": {
    "r": 216,
    "g": 121,
    "b": 202
  },
  "hsl": {
    "h": 308.842,
    "s": 54.913,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70732,
    "c": 0.15464,
    "h": 332.7
  },
  "luminance": 0.32538
}

Semantic roles & 50–950 ramp

primary
#D879CA
secondary
#C7E6CB
accent
#C23B23
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#160F15
muted
#847F83

Preview Lab

Preview with #D879CA

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

Preview Lab → · Contrast checker → · Palette generator →

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