#D771EF#D771EF

#D771EF is a light, highly saturated purple. Relative luminance 0.325; OKLCH L 71.2% C 0.201 H 319.7°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#D771EF
RGBrgb(215, 113, 239)
HSLhsl(289, 80%, 69%)
HSVhsv(289, 53%, 94%)
CMYKcmyk(10%, 52.7%, 0%, 6.3%)
CIE-LABlab(63.75, 58.56, -46.88)
CIE-LCHlch(63.75, 75.02, 321.32°)
OKLaboklab(71.2% 0.1535 -0.1301)
OKLCHoklch(71.2% 0.201 319.7)
XYZxyz(49.5075, 32.4913, 85.3082)
Luminance0.3249 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D771EF #89EF71
analogous
#9871EF #D771EF #EF71C8
triadic
#D771EF #EFD771 #71EFD7
tetradic
#D771EF #EF9871 #89EF71 #71C8EF
square
#D771EF #EF9871 #89EF71 #71C8EF
split-complementary
#D771EF #C8EF71 #71EF98
monochromatic
#AB17CE #C83AE9 #D771EF #E6A8F5 #F6DFFB

Accessibility & contrast

On white

2.80
#D771EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#D771EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D771EF
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D771EF#FFFFFF#000000##000000
##D771EF1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5993F3
Deuteranopia (green-blind)
#7A9EEC
Tritanopia (blue-blind)
#D883A6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d771ef;
/* rgb */ color: rgb(215, 113, 239);
/* oklch */ color: oklch(71.2% 0.201 319.7);
Tailwind
colors: {
  custom: {
    50: '#e69ef5',
    500: '#d771ef',
    950: '#000000',
  },
}
SCSS
$custom: #d771ef;
$custom-light: #e69ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#d771ef",
  "rgb": {
    "r": 215,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 288.571,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71202,
    "c": 0.20123,
    "h": 319.7
  },
  "luminance": 0.32489
}

Semantic roles & 50–950 ramp

primary
#D771EF
secondary
#D2F0CB
accent
#DC0932
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160F17
muted
#847E85

Preview Lab

Preview with #D771EF

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

Preview Lab → · Contrast checker → · Palette generator →

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