#D502FB

#d502fb ≈ Electric Purple

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

#d502fb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.53% red, 0.78% green and 98.43% blue; printed in CMYK it uses 15.14% cyan, 99.2% magenta, 0% yellow and 1.57% black. Its hue angle is 290.84°, with 98.42% saturation and 49.61% 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.23:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.2.

Description generated from the measured properties of this color.

Conversions of #d502fb 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.2115

Readable text 4.01:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.23:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #a864be ≈ 0.001% of males
Protanopia #0073ff ≈ 1.01% of males
Deuteranopia #2c84f7 ≈ 1.27% of males
Tritanopia #d55594 ≈ 0.0001% of males
Protanomaly #7e5bfe ≈ 1.08% of males
Deuteranomaly #9168f8 ≈ 4.63% of males
Tritanomaly #d542c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d502fb {
  color: #d502fb;
}
Background
.bg-d502fb {
  background-color: #d502fb;
  color: #000000;
}
Border
.border-d502fb {
  border: 2px solid #d502fb;
}
CSS variables
:root {
  --color-primary: #d502fb;
  --color-primary-rgb: 213 2 251;
  --color-primary-hsl: 291 98% 50%;
}
Gradient
.gradient-d502fb {
  background: linear-gradient(135deg, #d502fb, #fb02a5);
}
Colored shadow
.shadow-d502fb {
  box-shadow: 0 8px 24px rgb(213 2 251 / 0.35);
}

Electric Purple
#d502fb  rgb(213, 2, 251)  hsl(291, 98%, 50%)  Electric Purple
#28fb02  rgb(40, 251, 2)  hsl(111, 98%, 50%)  Lime
#fbd502  rgb(251, 213, 2)  hsl(51, 98%, 50%)  Gold
#02fbd5  rgb(2, 251, 213)  hsl(171, 98%, 50%)  Aquamarine