#D802FD

#d802fd ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Balanced

#d802fd is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 84.71% red, 0.78% green and 99.22% blue; printed in CMYK it uses 14.62% cyan, 99.21% magenta, 0% yellow and 0.78% black. Its hue angle is 291.16°, with 98.43% saturation and 50% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. Black text on this color reaches a contrast ratio of 5.35:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.75.

Description generated from the measured properties of this color.

Conversions of #d802fd into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc00ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2173

Readable text 3.93:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.35:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #ab65bf ≈ 0.001% of males
Protanopia #0075ff ≈ 1.01% of males
Deuteranopia #2f86f9 ≈ 1.27% of males
Tritanopia #d85595 ≈ 0.0001% of males
Protanomaly #805cff ≈ 1.08% of males
Deuteranomaly #936afa ≈ 4.63% of males
Tritanomaly #d842c7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d802fd {
  color: #d802fd;
}
Background
.bg-d802fd {
  background-color: #d802fd;
  color: #000000;
}
Border
.border-d802fd {
  border: 2px solid #d802fd;
}
CSS variables
:root {
  --color-primary: #d802fd;
  --color-primary-rgb: 216 2 253;
  --color-primary-hsl: 291 98% 50%;
}
Gradient
.gradient-d802fd {
  background: linear-gradient(135deg, #d802fd, #fd02a4);
}
Colored shadow
.shadow-d802fd {
  box-shadow: 0 8px 24px rgb(216 2 253 / 0.35);
}

Electric Purple
#d802fd  rgb(216, 2, 253)  hsl(291, 98%, 50%)  Electric Purple
#27fd02  rgb(39, 253, 2)  hsl(111, 98%, 50%)  Lime
#fdd802  rgb(253, 216, 2)  hsl(51, 98%, 50%)  Gold
#02fdd8  rgb(2, 253, 216)  hsl(171, 98%, 50%)  Aquamarine