#D771CA#D771CA

#D771CA is a light, vivid purple. Relative luminance 0.305; OKLCH L 69.4% C 0.167 H 332.1°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#D771CA
RGBrgb(215, 113, 202)
HSLhsl(308, 56%, 64%)
HSVhsv(308, 47%, 84%)
CMYKcmyk(0%, 47.4%, 6%, 15.7%)
CIE-LABlab(62.10, 51.86, -28.77)
CIE-LCHlch(62.10, 59.30, 330.98°)
OKLaboklab(69.45% 0.1479 -0.0782)
OKLCHoklch(69.45% 0.167 332.1)
XYZxyz(44.5899, 30.5243, 59.4088)
Luminance0.3052 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D771CA #71D77E
analogous
#B171D7 #D771CA #D77197
triadic
#D771CA #CAD771 #71CAD7
tetradic
#D771CA #D7B171 #71D77E #7197D7
square
#D771CA #D7B171 #71D77E #7197D7
split-complementary
#D771CA #97D771 #71D7B1
monochromatic
#A02D92 #CA41B8 #D771CA #E4A1DC #F2D0EE

Accessibility & contrast

On white

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

On black

7.10
#D771CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D771CA
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D771CA#FFFFFF#000000##000000
##D771CA1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8DCD
Deuteranopia (green-blind)
#8B9BC7
Tritanopia (blue-blind)
#DF7894
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d771ca;
/* rgb */ color: rgb(215, 113, 202);
/* oklch */ color: oklch(69.4% 0.167 332.1);
Tailwind
colors: {
  custom: {
    50: '#e59dda',
    500: '#d771ca',
    950: '#000000',
  },
}
SCSS
$custom: #d771ca;
$custom-light: #e59dda;
$custom-dark: #000000;
JSON
{
  "hex": "#d771ca",
  "rgb": {
    "r": 215,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 307.647,
    "s": 56.044,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69449,
    "c": 0.16728,
    "h": 332.1
  },
  "luminance": 0.30522
}

Semantic roles & 50–950 ramp

primary
#D771CA
secondary
#C0E4C5
accent
#C43722
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160F15
muted
#847E83

Preview Lab

Preview with #D771CA

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

Preview Lab → · Contrast checker → · Palette generator →

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