#D771CE#D771CE

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

Color values

HEX#D771CE
RGBrgb(215, 113, 206)
HSLhsl(305, 56%, 64%)
HSVhsv(305, 47%, 84%)
CMYKcmyk(0%, 47.4%, 4.2%, 15.7%)
CIE-LABlab(62.27, 52.54, -30.77)
CIE-LCHlch(62.27, 60.89, 329.64°)
OKLaboklab(69.62% 0.1487 -0.0838)
OKLCHoklch(69.62% 0.171 330.6)
XYZxyz(45.0696, 30.7162, 61.9355)
Luminance0.3071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D771CE #71D77A
analogous
#AD71D7 #D771CE #D7719B
triadic
#D771CE #CED771 #71CED7
tetradic
#D771CE #D7AD71 #71D77A #719BD7
square
#D771CE #D7AD71 #71D77A #719BD7
split-complementary
#D771CE #9BD771 #71D7AD
monochromatic
#A02D96 #CA41BE #D771CE #E4A1DE #F2D0EF

Accessibility & contrast

On white

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

On black

7.14
#D771CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D771CE
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D771CE#FFFFFF#000000##000000
##D771CE1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8ED1
Deuteranopia (green-blind)
#899CCB
Tritanopia (blue-blind)
#DE7996
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d771ce;
/* rgb */ color: rgb(215, 113, 206);
/* oklch */ color: oklch(69.6% 0.171 330.6);
Tailwind
colors: {
  custom: {
    50: '#e59ddd',
    500: '#d771ce',
    950: '#000000',
  },
}
SCSS
$custom: #d771ce;
$custom-light: #e59ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#d771ce",
  "rgb": {
    "r": 215,
    "g": 113,
    "b": 206
  },
  "hsl": {
    "h": 305.294,
    "s": 56.044,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69624,
    "c": 0.1707,
    "h": 330.6
  },
  "luminance": 0.30714
}

Semantic roles & 50–950 ramp

primary
#D771CE
secondary
#C0E4C3
accent
#C43022
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160F15
muted
#847E83

Preview Lab

Preview with #D771CE

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

Preview Lab → · Contrast checker → · Palette generator →

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