#D508EA

#d508ea ≈ Electric Purple

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

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

Description generated from the measured properties of this color.

Conversions of #d508ea 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.2026

Readable text 4.16:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.05:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7c7c7c ≈ 0.003% of males
Achromatomaly #a762b3 ≈ 0.001% of males
Protanopia #006fef ≈ 1.01% of males
Deuteranopia #4583e6 ≈ 1.27% of males
Tritanopia #d84c8a ≈ 0.0001% of males
Protanomaly #8358ed ≈ 1.08% of males
Deuteranomaly #9568e7 ≈ 4.63% of males
Tritanomaly #d73bb8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#d508ea  rgb(213, 8, 234)  hsl(294, 93%, 47%)  Electric Purple
#1dea08  rgb(29, 234, 8)  hsl(114, 93%, 47%)  Lime
#ead508  rgb(234, 213, 8)  hsl(54, 93%, 47%)  Citrine
#08ead5  rgb(8, 234, 213)  hsl(174, 93%, 47%)  Turquoise