#D771EA#D771EA

#D771EA is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.9% C 0.196 H 321.1°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#D771EA
RGBrgb(215, 113, 234)
HSLhsl(291, 74%, 68%)
HSVhsv(291, 52%, 92%)
CMYKcmyk(8.1%, 51.7%, 0%, 8.2%)
CIE-LABlab(63.51, 57.61, -44.49)
CIE-LCHlch(63.51, 72.79, 322.32°)
OKLaboklab(70.95% 0.153 -0.1232)
OKLCHoklch(70.95% 0.196 321.1)
XYZxyz(48.7790, 32.1999, 81.4717)
Luminance0.3220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D771EA #84EA71
analogous
#9B71EA #D771EA #EA71C0
triadic
#D771EA #EAD771 #71EAD7
tetradic
#D771EA #EA9B71 #84EA71 #71C0EA
square
#D771EA #EA9B71 #84EA71 #71C0EA
split-complementary
#D771EA #C0EA71 #71EA9B
monochromatic
#A91DC4 #C83CE2 #D771EA #E6A6F2 #F5DCFA

Accessibility & contrast

On white

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

On black

7.44
#D771EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D771EA
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D771EA#FFFFFF#000000##000000
##D771EA1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D92EE
Deuteranopia (green-blind)
#7D9EE7
Tritanopia (blue-blind)
#D982A3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d771ea;
/* rgb */ color: rgb(215, 113, 234);
/* oklch */ color: oklch(70.9% 0.196 321.1);
Tailwind
colors: {
  custom: {
    50: '#e69ef1',
    500: '#d771ea',
    950: '#000000',
  },
}
SCSS
$custom: #d771ea;
$custom-light: #e69ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#d771ea",
  "rgb": {
    "r": 215,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 290.579,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70948,
    "c": 0.19642,
    "h": 321.1
  },
  "luminance": 0.32198
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D771EA

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

Preview Lab → · Contrast checker → · Palette generator →

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