#D104F6

#d104f6 ≈ Electric Purple

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

#d104f6 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.96% red, 1.57% green and 96.47% blue; printed in CMYK it uses 15.04% cyan, 98.37% magenta, 0% yellow and 3.53% black. Its hue angle is 290.83°, with 96.8% saturation and 49.02% 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.06:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.61.

Description generated from the measured properties of this color.

Conversions of #d104f6 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.203

Readable text 4.15:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.06:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7c7c7c ≈ 0.003% of males
Achromatomaly #a562ba ≈ 0.001% of males
Protanopia #0071fb ≈ 1.01% of males
Deuteranopia #2c82f2 ≈ 1.27% of males
Tritanopia #d15391 ≈ 0.0001% of males
Protanomaly #7c59f9 ≈ 1.08% of males
Deuteranomaly #8e67f3 ≈ 4.63% of males
Tritanomaly #d141c2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d104f6 {
  color: #d104f6;
}
Background
.bg-d104f6 {
  background-color: #d104f6;
  color: #000000;
}
Border
.border-d104f6 {
  border: 2px solid #d104f6;
}
CSS variables
:root {
  --color-primary: #d104f6;
  --color-primary-rgb: 209 4 246;
  --color-primary-hsl: 291 97% 49%;
}
Gradient
.gradient-d104f6 {
  background: linear-gradient(135deg, #d104f6, #f604a2);
}
Colored shadow
.shadow-d104f6 {
  box-shadow: 0 8px 24px rgb(209 4 246 / 0.35);
}

Electric Purple
#d104f6  rgb(209, 4, 246)  hsl(291, 97%, 49%)  Electric Purple
#29f604  rgb(41, 246, 4)  hsl(111, 97%, 49%)  Lime
#f6d104  rgb(246, 209, 4)  hsl(51, 97%, 49%)  Gold
#04f6d1  rgb(4, 246, 209)  hsl(171, 97%, 49%)  Aquamarine