#D40AED

#d40aed ≈ Electric Purple

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

#d40aed 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 92.94% blue; printed in CMYK it uses 10.55% cyan, 95.78% magenta, 0% yellow and 7.06% black. Its hue angle is 293.39°, with 91.9% saturation and 48.43% 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.07:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.72.

Description generated from the measured properties of this color.

Conversions of #d40aed 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.2033

Readable text 4.15:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.07:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7c7c7c ≈ 0.003% of males
Achromatomaly #a762b5 ≈ 0.001% of males
Protanopia #0070f2 ≈ 1.01% of males
Deuteranopia #4083e9 ≈ 1.27% of males
Tritanopia #d64e8c ≈ 0.0001% of males
Protanomaly #8158f0 ≈ 1.08% of males
Deuteranomaly #9468ea ≈ 4.63% of males
Tritanomaly #d53dbb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#d40aed  rgb(212, 10, 237)  hsl(293, 92%, 48%)  Electric Purple
#23ed0a  rgb(35, 237, 10)  hsl(113, 92%, 48%)  Lime
#edd40a  rgb(237, 212, 10)  hsl(53, 92%, 48%)  Citrine
#0aedd4  rgb(10, 237, 212)  hsl(173, 92%, 48%)  Turquoise