#D877DB#D877DB

#D877DB is a light, vivid purple. Relative luminance 0.329; OKLCH L 71.2% C 0.173 H 326.1°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#D877DB
RGBrgb(216, 119, 219)
HSLhsl(298, 58%, 66%)
HSVhsv(298, 46%, 86%)
CMYKcmyk(1.4%, 45.7%, 0%, 14.1%)
CIE-LABlab(64.09, 52.14, -35.22)
CIE-LCHlch(64.09, 62.92, 325.96°)
OKLaboklab(71.18% 0.1438 -0.0966)
OKLCHoklch(71.18% 0.173 326.1)
XYZxyz(47.7009, 32.9094, 70.8437)
Luminance0.3291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D877DB #7ADB77
analogous
#A677DB #D877DB #DB77AC
triadic
#D877DB #DBD877 #77DBD8
tetradic
#D877DB #DBA677 #7ADB77 #77ACDB
square
#D877DB #DBA677 #7ADB77 #77ACDB
split-complementary
#D877DB #ACDB77 #77DBA6
monochromatic
#A72DAA #CA47CE #D877DB #E6A7E8 #F4D8F5

Accessibility & contrast

On white

2.77
#D877DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#D877DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D877DB
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D877DB#FFFFFF#000000##000000
##D877DB1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D94DE
Deuteranopia (green-blind)
#89A0D8
Tritanopia (blue-blind)
#DD829F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d877db;
/* rgb */ color: rgb(216, 119, 219);
/* oklch */ color: oklch(71.2% 0.173 326.1);
Tailwind
colors: {
  custom: {
    50: '#e6a1e6',
    500: '#d877db',
    950: '#000000',
  },
}
SCSS
$custom: #d877db;
$custom-light: #e6a1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d877db",
  "rgb": {
    "r": 216,
    "g": 119,
    "b": 219
  },
  "hsl": {
    "h": 298.2,
    "s": 58.14,
    "l": 66.275
  },
  "oklch": {
    "l": 0.71183,
    "c": 0.1732,
    "h": 326.1
  },
  "luminance": 0.32907
}

Semantic roles & 50–950 ramp

primary
#D877DB
secondary
#C8E7C7
accent
#C62025
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D877DB

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

Preview Lab → · Contrast checker → · Palette generator →

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