#D771DB#D771DB

#D771DB is a light, vivid purple. Relative luminance 0.314; OKLCH L 70.2% C 0.182 H 325.9°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#D771DB
RGBrgb(215, 113, 219)
HSLhsl(298, 60%, 65%)
HSVhsv(298, 48%, 86%)
CMYKcmyk(1.8%, 48.4%, 0%, 14.1%)
CIE-LABlab(62.82, 54.83, -37.20)
CIE-LCHlch(62.82, 66.27, 325.84°)
OKLaboklab(70.22% 0.151 -0.1022)
OKLCHoklch(70.22% 0.182 325.9)
XYZxyz(46.7147, 31.3742, 70.5993)
Luminance0.3137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D771DB #75DB71
analogous
#A271DB #D771DB #DB71AA
triadic
#D771DB #DBD771 #71DBD7
tetradic
#D771DB #DBA271 #75DB71 #71AADB
square
#D771DB #DBA271 #75DB71 #71AADB
split-complementary
#D771DB #AADB71 #71DBA2
monochromatic
#A22AA7 #C940CF #D771DB #E5A2E7 #F3D3F4

Accessibility & contrast

On white

2.89
#D771DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#D771DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D771DB
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D771DB#FFFFFF#000000##000000
##D771DB1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6690DF
Deuteranopia (green-blind)
#849DD8
Tritanopia (blue-blind)
#DC7D9C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d771db;
/* rgb */ color: rgb(215, 113, 219);
/* oklch */ color: oklch(70.2% 0.182 325.9);
Tailwind
colors: {
  custom: {
    50: '#e59de6',
    500: '#d771db',
    950: '#000000',
  },
}
SCSS
$custom: #d771db;
$custom-light: #e59de6;
$custom-dark: #000000;
JSON
{
  "hex": "#d771db",
  "rgb": {
    "r": 215,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 297.736,
    "s": 59.551,
    "l": 65.098
  },
  "oklch": {
    "l": 0.70218,
    "c": 0.18232,
    "h": 325.9
  },
  "luminance": 0.31372
}

Semantic roles & 50–950 ramp

primary
#D771DB
secondary
#C3E6C2
accent
#C71E25
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160F16
muted
#847E84

Preview Lab

Preview with #D771DB

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

Preview Lab → · Contrast checker → · Palette generator →

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