#D771EB#D771EB

#D771EB is a light, vivid purple. Relative luminance 0.323; OKLCH L 71.0% C 0.197 H 320.9°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#D771EB
RGBrgb(215, 113, 235)
HSLhsl(290, 75%, 68%)
HSVhsv(290, 52%, 92%)
CMYKcmyk(8.5%, 51.9%, 0%, 7.8%)
CIE-LABlab(63.56, 57.80, -44.97)
CIE-LCHlch(63.56, 73.23, 322.12°)
OKLaboklab(71% 0.1531 -0.1246)
OKLCHoklch(71% 0.197 320.9)
XYZxyz(48.9231, 32.2576, 82.2305)
Luminance0.3226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D771EB #85EB71
analogous
#9A71EB #D771EB #EB71C2
triadic
#D771EB #EBD771 #71EBD7
tetradic
#D771EB #EB9A71 #85EB71 #71C2EB
square
#D771EB #EB9A71 #85EB71 #71C2EB
split-complementary
#D771EB #C2EB71 #71EB9A
monochromatic
#AA1CC6 #C83BE3 #D771EB #E6A7F3 #F5DCFA

Accessibility & contrast

On white

2.82
#D771EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#D771EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D771EB
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D771EB#FFFFFF#000000##000000
##D771EB1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C93EF
Deuteranopia (green-blind)
#7C9EE8
Tritanopia (blue-blind)
#D982A4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d771eb;
/* rgb */ color: rgb(215, 113, 235);
/* oklch */ color: oklch(71.0% 0.197 320.9);
Tailwind
colors: {
  custom: {
    50: '#e69ef2',
    500: '#d771eb',
    950: '#000000',
  },
}
SCSS
$custom: #d771eb;
$custom-light: #e69ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#d771eb",
  "rgb": {
    "r": 215,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 290.164,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70998,
    "c": 0.19738,
    "h": 320.9
  },
  "luminance": 0.32255
}

Semantic roles & 50–950 ramp

primary
#D771EB
secondary
#CFEEC9
accent
#D70E2F
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160F17
muted
#847E85

Preview Lab

Preview with #D771EB

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

Preview Lab → · Contrast checker → · Palette generator →

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