#D522EA

#d522ea ≈ Electric Purple

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

#d522ea is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.53% red, 13.33% green and 91.76% blue; printed in CMYK it uses 8.97% cyan, 85.47% magenta, 0% yellow and 8.24% black. Its hue angle is 293.7°, with 82.64% saturation and 52.55% 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.25:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.74.

Description generated from the measured properties of this color.

Conversions of #d522ea into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc33ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2123

Readable text 4:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.25:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #a866b4 ≈ 0.001% of males
Protanopia #0073ef ≈ 1.01% of males
Deuteranopia #4b85e6 ≈ 1.27% of males
Tritanopia #d8528c ≈ 0.0001% of males
Protanomaly #855ded ≈ 1.08% of males
Deuteranomaly #976be8 ≈ 4.63% of males
Tritanomaly #d743b9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d522ea {
  color: #d522ea;
}
Background
.bg-d522ea {
  background-color: #d522ea;
  color: #000000;
}
Border
.border-d522ea {
  border: 2px solid #d522ea;
}
CSS variables
:root {
  --color-primary: #d522ea;
  --color-primary-rgb: 213 34 234;
  --color-primary-hsl: 294 83% 53%;
}
Gradient
.gradient-d522ea {
  background: linear-gradient(135deg, #d522ea, #ea229b);
}
Colored shadow
.shadow-d522ea {
  box-shadow: 0 8px 24px rgb(213 34 234 / 0.35);
}

Electric Purple
#d522ea  rgb(213, 34, 234)  hsl(294, 83%, 53%)  Electric Purple
#37ea22  rgb(55, 234, 34)  hsl(114, 83%, 53%)  Lime
#ead522  rgb(234, 213, 34)  hsl(54, 83%, 53%)  Citrine
#22ead5  rgb(34, 234, 213)  hsl(174, 83%, 53%)  Turquoise