#D771C8#D771C8

#D771C8 is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.4% C 0.166 H 332.9°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#D771C8
RGBrgb(215, 113, 200)
HSLhsl(309, 56%, 64%)
HSVhsv(309, 47%, 84%)
CMYKcmyk(0%, 47.4%, 7%, 15.7%)
CIE-LABlab(62.02, 51.52, -27.76)
CIE-LCHlch(62.02, 58.52, 331.68°)
OKLaboklab(69.36% 0.1475 -0.0753)
OKLCHoklch(69.36% 0.166 332.9)
XYZxyz(44.3546, 30.4302, 58.1698)
Luminance0.3043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D771C8 #71D780
analogous
#B371D7 #D771C8 #D77195
triadic
#D771C8 #C8D771 #71C8D7
tetradic
#D771C8 #D7B371 #71D780 #7195D7
square
#D771C8 #D7B371 #71D780 #7195D7
split-complementary
#D771C8 #95D771 #71D7B3
monochromatic
#A02D8F #CA41B6 #D771C8 #E4A1DA #F2D0ED

Accessibility & contrast

On white

2.96
#D771C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#D771C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D771C8
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D771C8#FFFFFF#000000##000000
##D771C81.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8DCB
Deuteranopia (green-blind)
#8B9BC5
Tritanopia (blue-blind)
#DF7793
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d771c8;
/* rgb */ color: rgb(215, 113, 200);
/* oklch */ color: oklch(69.4% 0.166 332.9);
Tailwind
colors: {
  custom: {
    50: '#e59dd9',
    500: '#d771c8',
    950: '#000000',
  },
}
SCSS
$custom: #d771c8;
$custom-light: #e59dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#d771c8",
  "rgb": {
    "r": 215,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 308.824,
    "s": 56.044,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69363,
    "c": 0.16559,
    "h": 332.9
  },
  "luminance": 0.30427
}

Semantic roles & 50–950 ramp

primary
#D771C8
secondary
#C0E4C5
accent
#C43A22
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160F14
muted
#847E83

Preview Lab

Preview with #D771C8

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

Preview Lab → · Contrast checker → · Palette generator →

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