#D771CC#D771CC

#D771CC is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.5% C 0.169 H 331.4°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#D771CC
RGBrgb(215, 113, 204)
HSLhsl(306, 56%, 64%)
HSVhsv(306, 47%, 84%)
CMYKcmyk(0%, 47.4%, 5.1%, 15.7%)
CIE-LABlab(62.19, 52.20, -29.77)
CIE-LCHlch(62.19, 60.09, 330.30°)
OKLaboklab(69.54% 0.1483 -0.081)
OKLCHoklch(69.54% 0.169 331.4)
XYZxyz(44.8282, 30.6196, 60.6640)
Luminance0.3062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D771CC #71D77C
analogous
#AF71D7 #D771CC #D77199
triadic
#D771CC #CCD771 #71CCD7
tetradic
#D771CC #D7AF71 #71D77C #7199D7
square
#D771CC #D7AF71 #71D77C #7199D7
split-complementary
#D771CC #99D771 #71D7AF
monochromatic
#A02D94 #CA41BB #D771CC #E4A1DD #F2D0EE

Accessibility & contrast

On white

2.95
#D771CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#D771CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D771CC
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D771CC#FFFFFF#000000##000000
##D771CC1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8DCF
Deuteranopia (green-blind)
#8A9BC9
Tritanopia (blue-blind)
#DE7995
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d771cc;
/* rgb */ color: rgb(215, 113, 204);
/* oklch */ color: oklch(69.5% 0.169 331.4);
Tailwind
colors: {
  custom: {
    50: '#e59ddb',
    500: '#d771cc',
    950: '#000000',
  },
}
SCSS
$custom: #d771cc;
$custom-light: #e59ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#d771cc",
  "rgb": {
    "r": 215,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 306.471,
    "s": 56.044,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69536,
    "c": 0.16897,
    "h": 331.4
  },
  "luminance": 0.30617
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D771CC

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

Preview Lab → · Contrast checker → · Palette generator →

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