#D40AEF

#d40aef ≈ Electric Purple

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

#d40aef is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.14% red, 3.92% green and 93.73% blue; printed in CMYK it uses 11.3% cyan, 95.82% magenta, 0% yellow and 6.27% black. Its hue angle is 292.93°, with 91.97% saturation and 48.82% 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.09:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.59.

Description generated from the measured properties of this color.

Conversions of #d40aef 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.2045

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

Achromatopsia #7d7d7d ≈ 0.003% of males
Achromatomaly #a763b6 ≈ 0.001% of males
Protanopia #0070f4 ≈ 1.01% of males
Deuteranopia #3e83eb ≈ 1.27% of males
Tritanopia #d64f8d ≈ 0.0001% of males
Protanomaly #8159f2 ≈ 1.08% of males
Deuteranomaly #9368ec ≈ 4.63% of males
Tritanomaly #d53ebc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d40aef {
  color: #d40aef;
}
Background
.bg-d40aef {
  background-color: #d40aef;
  color: #000000;
}
Border
.border-d40aef {
  border: 2px solid #d40aef;
}
CSS variables
:root {
  --color-primary: #d40aef;
  --color-primary-rgb: 212 10 239;
  --color-primary-hsl: 293 92% 49%;
}
Gradient
.gradient-d40aef {
  background: linear-gradient(135deg, #d40aef, #ef0a97);
}
Colored shadow
.shadow-d40aef {
  box-shadow: 0 8px 24px rgb(212 10 239 / 0.35);
}

Electric Purple
#d40aef  rgb(212, 10, 239)  hsl(293, 92%, 49%)  Electric Purple
#25ef0a  rgb(37, 239, 10)  hsl(113, 92%, 49%)  Lime
#efd40a  rgb(239, 212, 10)  hsl(53, 92%, 49%)  Citrine
#0aefd4  rgb(10, 239, 212)  hsl(173, 92%, 49%)  Turquoise