#D104F0

#d104f0 ≈ Electric Purple

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

#d104f0 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 94.12% blue; printed in CMYK it uses 12.92% cyan, 98.33% magenta, 0% yellow and 5.88% black. Its hue angle is 292.12°, with 96.72% saturation and 47.84% 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 4.99:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.93.

Description generated from the measured properties of this color.

Conversions of #d104f0 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.1993

Readable text 4.21:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.99:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7b7b7b ≈ 0.003% of males
Achromatomaly #a561b6 ≈ 0.001% of males
Protanopia #006ff5 ≈ 1.01% of males
Deuteranopia #3681ec ≈ 1.27% of males
Tritanopia #d2508e ≈ 0.0001% of males
Protanomaly #7e58f3 ≈ 1.08% of males
Deuteranomaly #9066ed ≈ 4.63% of males
Tritanomaly #d23ebd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#d104f0  rgb(209, 4, 240)  hsl(292, 97%, 48%)  Electric Purple
#23f004  rgb(35, 240, 4)  hsl(112, 97%, 48%)  Lime
#f0d104  rgb(240, 209, 4)  hsl(52, 97%, 48%)  Gold
#04f0d1  rgb(4, 240, 209)  hsl(172, 97%, 48%)  Turquoise