#D104F8

#d104f8 ≈ Electric Purple

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

#d104f8 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 97.25% blue; printed in CMYK it uses 15.73% cyan, 98.39% magenta, 0% yellow and 2.75% black. Its hue angle is 290.41°, with 96.83% saturation and 49.41% 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.08:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.54.

Description generated from the measured properties of this color.

Conversions of #d104f8 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.2042

Readable text 4.13:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.08:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7d7d7d ≈ 0.003% of males
Achromatomaly #a562bb ≈ 0.001% of males
Protanopia #0072fd ≈ 1.01% of males
Deuteranopia #2882f4 ≈ 1.27% of males
Tritanopia #d05492 ≈ 0.0001% of males
Protanomaly #7b59fb ≈ 1.08% of males
Deuteranomaly #8d67f5 ≈ 4.63% of males
Tritanomaly #d142c4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#d104f8  rgb(209, 4, 248)  hsl(290, 97%, 49%)  Electric Purple
#2bf804  rgb(43, 248, 4)  hsl(110, 97%, 49%)  Lime
#f8d104  rgb(248, 209, 4)  hsl(50, 97%, 49%)  Cyber Yellow
#04f8d1  rgb(4, 248, 209)  hsl(170, 97%, 49%)  Aquamarine