#D771E7#D771E7

#D771E7 is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.8% C 0.194 H 322.0°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#D771E7
RGBrgb(215, 113, 231)
HSLhsl(292, 71%, 67%)
HSVhsv(292, 51%, 91%)
CMYKcmyk(6.9%, 51.1%, 0%, 9.4%)
CIE-LABlab(63.37, 57.04, -43.04)
CIE-LCHlch(63.37, 71.46, 322.96°)
OKLaboklab(70.8% 0.1526 -0.119)
OKLCHoklch(70.8% 0.194 322)
XYZxyz(48.3517, 32.0290, 79.2211)
Luminance0.3203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D771E7 #81E771
analogous
#9C71E7 #D771E7 #E771BC
triadic
#D771E7 #E7D771 #71E7D7
tetradic
#D771E7 #E79C71 #81E771 #71BCE7
square
#D771E7 #E79C71 #81E771 #71BCE7
split-complementary
#D771E7 #BCE771 #71E79C
monochromatic
#A820BE #C83DDE #D771E7 #E6A5F0 #F4DAF9

Accessibility & contrast

On white

2.84
#D771E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#D771E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D771E7
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D771E7#FFFFFF#000000##000000
##D771E71.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F92EB
Deuteranopia (green-blind)
#7E9DE4
Tritanopia (blue-blind)
#DA81A2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d771e7;
/* rgb */ color: rgb(215, 113, 231);
/* oklch */ color: oklch(70.8% 0.194 322.0);
Tailwind
colors: {
  custom: {
    50: '#e69def',
    500: '#d771e7',
    950: '#000000',
  },
}
SCSS
$custom: #d771e7;
$custom-light: #e69def;
$custom-dark: #000000;
JSON
{
  "hex": "#d771e7",
  "rgb": {
    "r": 215,
    "g": 113,
    "b": 231
  },
  "hsl": {
    "h": 291.864,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70798,
    "c": 0.19355,
    "h": 322
  },
  "luminance": 0.32027
}

Semantic roles & 50–950 ramp

primary
#D771E7
secondary
#CCECC7
accent
#D3122D
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160F16
muted
#847E84

Preview Lab

Preview with #D771E7

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

Preview Lab → · Contrast checker → · Palette generator →

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