#D804FC

#d804fc ≈ Electric Purple

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

#d804fc is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 84.71% red, 1.57% green and 98.82% blue; printed in CMYK it uses 14.29% cyan, 98.41% magenta, 0% yellow and 1.18% black. Its hue angle is 291.29°, with 97.64% saturation and 50.2% 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.34:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.79.

Description generated from the measured properties of this color.

Conversions of #d804fc 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.2171

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

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #ab65bf ≈ 0.001% of males
Protanopia #0074ff ≈ 1.01% of males
Deuteranopia #3286f8 ≈ 1.27% of males
Tritanopia #d85595 ≈ 0.0001% of males
Protanomaly #815cff ≈ 1.08% of males
Deuteranomaly #936af9 ≈ 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-d804fc {
  color: #d804fc;
}
Background
.bg-d804fc {
  background-color: #d804fc;
  color: #000000;
}
Border
.border-d804fc {
  border: 2px solid #d804fc;
}
CSS variables
:root {
  --color-primary: #d804fc;
  --color-primary-rgb: 216 4 252;
  --color-primary-hsl: 291 98% 50%;
}
Gradient
.gradient-d804fc {
  background: linear-gradient(135deg, #d804fc, #fc04a4);
}
Colored shadow
.shadow-d804fc {
  box-shadow: 0 8px 24px rgb(216 4 252 / 0.35);
}

Electric Purple
#d804fc  rgb(216, 4, 252)  hsl(291, 98%, 50%)  Electric Purple
#28fc04  rgb(40, 252, 4)  hsl(111, 98%, 50%)  Lime
#fcd804  rgb(252, 216, 4)  hsl(51, 98%, 50%)  Gold
#04fcd8  rgb(4, 252, 216)  hsl(171, 98%, 50%)  Aquamarine