#E771DC#E771DC

#E771DC is a light, vivid purple. Relative luminance 0.340; OKLCH L 72.2% C 0.193 H 331.0°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#E771DC
RGBrgb(231, 113, 220)
HSLhsl(306, 71%, 67%)
HSVhsv(306, 51%, 91%)
CMYKcmyk(0%, 51.1%, 4.8%, 9.4%)
CIE-LABlab(64.94, 59.48, -34.31)
CIE-LCHlch(64.94, 68.67, 330.02°)
OKLaboklab(72.23% 0.1689 -0.0936)
OKLCHoklch(72.23% 0.193 331)
XYZxyz(51.7780, 33.9697, 71.5259)
Luminance0.3397 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E771DC #71E77C
analogous
#B771E7 #E771DC #E771A1
triadic
#E771DC #DCE771 #71DCE7
tetradic
#E771DC #E7B771 #71E77C #71A1E7
square
#E771DC #E7B771 #71E77C #71A1E7
split-complementary
#E771DC #A1E771 #71E7B7
monochromatic
#BE20AF #DE3DCF #E771DC #F0A5E9 #F9DAF6

Accessibility & contrast

On white

2.69
#E771DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#E771DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E771DC
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E771DC#FFFFFF#000000##000000
##E771DC1.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C93E0
Deuteranopia (green-blind)
#8EA4D9
Tritanopia (blue-blind)
#EF7B9D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #e771dc;
/* rgb */ color: rgb(231, 113, 220);
/* oklch */ color: oklch(72.2% 0.193 331.0);
Tailwind
colors: {
  custom: {
    50: '#f19ee7',
    500: '#e771dc',
    950: '#000000',
  },
}
SCSS
$custom: #e771dc;
$custom-light: #f19ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#e771dc",
  "rgb": {
    "r": 231,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 305.593,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.7223,
    "c": 0.1931,
    "h": 331
  },
  "luminance": 0.33966
}

Semantic roles & 50–950 ramp

primary
#E771DC
secondary
#C7ECCB
accent
#D32412
background
#FFFAFE
surface
#FEF3FC
border
#D6CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E771DC

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

Preview Lab → · Contrast checker → · Palette generator →

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