#D771CF#D771CF

#D771CF is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.7% C 0.172 H 330.2°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#D771CF
RGBrgb(215, 113, 207)
HSLhsl(305, 56%, 64%)
HSVhsv(305, 47%, 84%)
CMYKcmyk(0%, 47.4%, 3.7%, 15.7%)
CIE-LABlab(62.31, 52.71, -31.27)
CIE-LCHlch(62.31, 61.29, 329.32°)
OKLaboklab(69.67% 0.1489 -0.0853)
OKLCHoklch(69.67% 0.172 330.2)
XYZxyz(45.1915, 30.7649, 62.5773)
Luminance0.3076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D771CF #71D779
analogous
#AC71D7 #D771CF #D7719C
triadic
#D771CF #CFD771 #71CFD7
tetradic
#D771CF #D7AC71 #71D779 #719CD7
square
#D771CF #D7AC71 #71D779 #719CD7
split-complementary
#D771CF #9CD771 #71D7AC
monochromatic
#A02D97 #CA41BF #D771CF #E4A1DF #F2D0EF

Accessibility & contrast

On white

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

On black

7.15
#D771CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D771CF
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D771CF#FFFFFF#000000##000000
##D771CF1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8ED2
Deuteranopia (green-blind)
#899CCC
Tritanopia (blue-blind)
#DE7996
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d771cf;
/* rgb */ color: rgb(215, 113, 207);
/* oklch */ color: oklch(69.7% 0.172 330.2);
Tailwind
colors: {
  custom: {
    50: '#e59dde',
    500: '#d771cf',
    950: '#000000',
  },
}
SCSS
$custom: #d771cf;
$custom-light: #e59dde;
$custom-dark: #000000;
JSON
{
  "hex": "#d771cf",
  "rgb": {
    "r": 215,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 304.706,
    "s": 56.044,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69669,
    "c": 0.17157,
    "h": 330.2
  },
  "luminance": 0.30762
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D771CF

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

Preview Lab → · Contrast checker → · Palette generator →

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