#D104F7

#d104f7 ≈ Electric Purple

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

#d104f7 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.86% blue; printed in CMYK it uses 15.38% cyan, 98.38% magenta, 0% yellow and 3.14% black. Its hue angle is 290.62°, with 96.81% saturation and 49.22% 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.07:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.57.

Description generated from the measured properties of this color.

Conversions of #d104f7 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.2036

Readable text 4.14:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.07:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7d7d7d ≈ 0.003% of males
Achromatomaly #a562bb ≈ 0.001% of males
Protanopia #0071fc ≈ 1.01% of males
Deuteranopia #2a82f3 ≈ 1.27% of males
Tritanopia #d05492 ≈ 0.0001% of males
Protanomaly #7b59fa ≈ 1.08% of males
Deuteranomaly #8e67f4 ≈ 4.63% of males
Tritanomaly #d141c3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#d104f7  rgb(209, 4, 247)  hsl(291, 97%, 49%)  Electric Purple
#2af704  rgb(42, 247, 4)  hsl(111, 97%, 49%)  Lime
#f7d104  rgb(247, 209, 4)  hsl(51, 97%, 49%)  Gold
#04f7d1  rgb(4, 247, 209)  hsl(171, 97%, 49%)  Aquamarine