#D771E4#D771E4

#D771E4 is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.7% C 0.191 H 323.0°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#D771E4
RGBrgb(215, 113, 228)
HSLhsl(293, 68%, 67%)
HSVhsv(293, 50%, 89%)
CMYKcmyk(5.7%, 50.4%, 0%, 10.6%)
CIE-LABlab(63.23, 56.48, -41.59)
CIE-LCHlch(63.23, 70.15, 323.63°)
OKLaboklab(70.65% 0.1522 -0.1149)
OKLCHoklch(70.65% 0.191 323)
XYZxyz(47.9316, 31.8610, 77.0088)
Luminance0.3186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D771E4 #7EE471
analogous
#9E71E4 #D771E4 #E471B8
triadic
#D771E4 #E4D771 #71E4D7
tetradic
#D771E4 #E49E71 #7EE471 #71B8E4
square
#D771E4 #E49E71 #7EE471 #71B8E4
split-complementary
#D771E4 #B8E471 #71E49E
monochromatic
#A723B8 #C93EDA #D771E4 #E5A4EE #F4D8F8

Accessibility & contrast

On white

2.85
#D771E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#D771E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D771E4
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D771E4#FFFFFF#000000##000000
##D771E41.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6191E8
Deuteranopia (green-blind)
#809DE1
Tritanopia (blue-blind)
#DA80A0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d771e4;
/* rgb */ color: rgb(215, 113, 228);
/* oklch */ color: oklch(70.7% 0.191 323.0);
Tailwind
colors: {
  custom: {
    50: '#e69ded',
    500: '#d771e4',
    950: '#000000',
  },
}
SCSS
$custom: #d771e4;
$custom-light: #e69ded;
$custom-dark: #000000;
JSON
{
  "hex": "#d771e4",
  "rgb": {
    "r": 215,
    "g": 113,
    "b": 228
  },
  "hsl": {
    "h": 293.217,
    "s": 68.047,
    "l": 66.863
  },
  "oklch": {
    "l": 0.7065,
    "c": 0.1907,
    "h": 323
  },
  "luminance": 0.31859
}

Semantic roles & 50–950 ramp

primary
#D771E4
secondary
#CAEBC6
accent
#D0162B
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160F16
muted
#847E84

Preview Lab

Preview with #D771E4

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

Preview Lab → · Contrast checker → · Palette generator →

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