#D40FE3

#d40fe3 ≈ Electric Purple

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

#d40fe3 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.14% red, 5.88% green and 89.02% blue; printed in CMYK it uses 6.61% cyan, 93.39% magenta, 0% yellow and 10.98% black. Its hue angle is 295.75°, with 87.6% 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 4.98:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.63.

Description generated from the measured properties of this color.

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

Readable text 4.22:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.98:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7b7b7b ≈ 0.003% of males
Achromatomaly #a662af ≈ 0.001% of males
Protanopia #006ee8 ≈ 1.01% of males
Deuteranopia #4b82df ≈ 1.27% of males
Tritanopia #d84986 ≈ 0.0001% of males
Protanomaly #8457e6 ≈ 1.08% of males
Deuteranomaly #9667e1 ≈ 4.63% of males
Tritanomaly #d73ab3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d40fe3 {
  color: #d40fe3;
}
Background
.bg-d40fe3 {
  background-color: #d40fe3;
  color: #000000;
}
Border
.border-d40fe3 {
  border: 2px solid #d40fe3;
}
CSS variables
:root {
  --color-primary: #d40fe3;
  --color-primary-rgb: 212 15 227;
  --color-primary-hsl: 296 88% 47%;
}
Gradient
.gradient-d40fe3 {
  background: linear-gradient(135deg, #d40fe3, #e30f88);
}
Colored shadow
.shadow-d40fe3 {
  box-shadow: 0 8px 24px rgb(212 15 227 / 0.35);
}

Electric Purple
#d40fe3  rgb(212, 15, 227)  hsl(296, 88%, 47%)  Electric Purple
#1ee30f  rgb(30, 227, 15)  hsl(116, 88%, 47%)  Malachite
#e3d40f  rgb(227, 212, 15)  hsl(56, 88%, 47%)  Citrine
#0fe3d4  rgb(15, 227, 212)  hsl(176, 88%, 47%)  Turquoise