#D771DD#D771DD

#D771DD is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.3% C 0.184 H 325.2°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#D771DD
RGBrgb(215, 113, 221)
HSLhsl(297, 61%, 65%)
HSVhsv(297, 49%, 87%)
CMYKcmyk(2.7%, 48.9%, 0%, 13.3%)
CIE-LABlab(62.91, 55.20, -38.18)
CIE-LCHlch(62.91, 67.12, 325.33°)
OKLaboklab(70.31% 0.1513 -0.105)
OKLCHoklch(70.31% 0.184 325.2)
XYZxyz(46.9795, 31.4801, 71.9943)
Luminance0.3148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D771DD #77DD71
analogous
#A171DD #D771DD #DD71AD
triadic
#D771DD #DDD771 #71DDD7
tetradic
#D771DD #DDA171 #77DD71 #71ADDD
square
#D771DD #DDA171 #77DD71 #71ADDD
split-complementary
#D771DD #ADDD71 #71DDA1
monochromatic
#A429AB #C940D1 #D771DD #E5A2E9 #F3D4F5

Accessibility & contrast

On white

2.88
#D771DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#D771DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D771DD
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D771DD#FFFFFF#000000##000000
##D771DD1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6590E1
Deuteranopia (green-blind)
#839DDA
Tritanopia (blue-blind)
#DB7E9D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d771dd;
/* rgb */ color: rgb(215, 113, 221);
/* oklch */ color: oklch(70.3% 0.184 325.2);
Tailwind
colors: {
  custom: {
    50: '#e59de8',
    500: '#d771dd',
    950: '#000000',
  },
}
SCSS
$custom: #d771dd;
$custom-light: #e59de8;
$custom-dark: #000000;
JSON
{
  "hex": "#d771dd",
  "rgb": {
    "r": 215,
    "g": 113,
    "b": 221
  },
  "hsl": {
    "h": 296.667,
    "s": 61.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.70312,
    "c": 0.18416,
    "h": 325.2
  },
  "luminance": 0.31478
}

Semantic roles & 50–950 ramp

primary
#D771DD
secondary
#C5E7C3
accent
#C91C26
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160F16
muted
#847E84

Preview Lab

Preview with #D771DD

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

Preview Lab → · Contrast checker → · Palette generator →

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