#D771CD#D771CD

#D771CD is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.6% C 0.170 H 331.0°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#D771CD
RGBrgb(215, 113, 205)
HSLhsl(306, 56%, 64%)
HSVhsv(306, 47%, 84%)
CMYKcmyk(0%, 47.4%, 4.7%, 15.7%)
CIE-LABlab(62.23, 52.37, -30.27)
CIE-LCHlch(62.23, 60.49, 329.97°)
OKLaboklab(69.58% 0.1485 -0.0824)
OKLCHoklch(69.58% 0.17 331)
XYZxyz(44.9485, 30.6677, 61.2977)
Luminance0.3066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D771CD #71D77B
analogous
#AE71D7 #D771CD #D7719A
triadic
#D771CD #CDD771 #71CDD7
tetradic
#D771CD #D7AE71 #71D77B #719AD7
square
#D771CD #D7AE71 #71D77B #719AD7
split-complementary
#D771CD #9AD771 #71D7AE
monochromatic
#A02D95 #CA41BC #D771CD #E4A1DE #F2D0EF

Accessibility & contrast

On white

2.94
#D771CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#D771CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D771CD
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D771CD#FFFFFF#000000##000000
##D771CD1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8DD0
Deuteranopia (green-blind)
#8A9CCA
Tritanopia (blue-blind)
#DE7996
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d771cd;
/* rgb */ color: rgb(215, 113, 205);
/* oklch */ color: oklch(69.6% 0.170 331.0);
Tailwind
colors: {
  custom: {
    50: '#e59ddc',
    500: '#d771cd',
    950: '#000000',
  },
}
SCSS
$custom: #d771cd;
$custom-light: #e59ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#d771cd",
  "rgb": {
    "r": 215,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 305.882,
    "s": 56.044,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6958,
    "c": 0.16984,
    "h": 331
  },
  "luminance": 0.30665
}

Semantic roles & 50–950 ramp

primary
#D771CD
secondary
#C0E4C4
accent
#C43222
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160F15
muted
#847E83

Preview Lab

Preview with #D771CD

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

Preview Lab → · Contrast checker → · Palette generator →

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