#D771CB#D771CB

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

Color values

HEX#D771CB
RGBrgb(215, 113, 203)
HSLhsl(307, 56%, 64%)
HSVhsv(307, 47%, 84%)
CMYKcmyk(0%, 47.4%, 5.6%, 15.7%)
CIE-LABlab(62.14, 52.03, -29.27)
CIE-LCHlch(62.14, 59.69, 330.64°)
OKLaboklab(69.49% 0.1481 -0.0796)
OKLCHoklch(69.49% 0.168 331.7)
XYZxyz(44.7087, 30.5718, 60.0344)
Luminance0.3057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D771CB #71D77D
analogous
#B071D7 #D771CB #D77198
triadic
#D771CB #CBD771 #71CBD7
tetradic
#D771CB #D7B071 #71D77D #7198D7
square
#D771CB #D7B071 #71D77D #7198D7
split-complementary
#D771CB #98D771 #71D7B0
monochromatic
#A02D93 #CA41BA #D771CB #E4A1DC #F2D0EE

Accessibility & contrast

On white

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

On black

7.11
#D771CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D771CB
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D771CB#FFFFFF#000000##000000
##D771CB1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8DCE
Deuteranopia (green-blind)
#8A9BC8
Tritanopia (blue-blind)
#DE7895
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d771cb;
/* rgb */ color: rgb(215, 113, 203);
/* oklch */ color: oklch(69.5% 0.168 331.7);
Tailwind
colors: {
  custom: {
    50: '#e59ddb',
    500: '#d771cb',
    950: '#000000',
  },
}
SCSS
$custom: #d771cb;
$custom-light: #e59ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#d771cb",
  "rgb": {
    "r": 215,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 307.059,
    "s": 56.044,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69493,
    "c": 0.16812,
    "h": 331.7
  },
  "luminance": 0.30569
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D771CB

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

Preview Lab → · Contrast checker → · Palette generator →

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