#CD2AFA

#cd2afa ≈ Electric Purple

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

#cd2afa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 16.47% green and 98.04% blue; printed in CMYK it uses 18% cyan, 83.2% magenta, 0% yellow and 1.96% black. Its hue angle is 287.02°, with 95.41% saturation and 57.25% 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.31:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.21.

Description generated from the measured properties of this color.

Conversions of #cd2afa 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.2154

Readable text 3.96:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.31:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #a468bd ≈ 0.001% of males
Protanopia #0077ff ≈ 1.01% of males
Deuteranopia #2d84f6 ≈ 1.27% of males
Tritanopia #ca5f97 ≈ 0.0001% of males
Protanomaly #7b61fd ≈ 1.08% of males
Deuteranomaly #8b6bf7 ≈ 4.63% of males
Tritanomaly #cb4fc7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cd2afa {
  color: #cd2afa;
}
Background
.bg-cd2afa {
  background-color: #cd2afa;
  color: #000000;
}
Border
.border-cd2afa {
  border: 2px solid #cd2afa;
}
CSS variables
:root {
  --color-primary: #cd2afa;
  --color-primary-rgb: 205 42 250;
  --color-primary-hsl: 287 95% 57%;
}
Gradient
.gradient-cd2afa {
  background: linear-gradient(135deg, #cd2afa, #fa2abf);
}
Colored shadow
.shadow-cd2afa {
  box-shadow: 0 8px 24px rgb(205 42 250 / 0.35);
}

Electric Purple
#cd2afa  rgb(205, 42, 250)  hsl(287, 95%, 57%)  Electric Purple
#57fa2a  rgb(87, 250, 42)  hsl(107, 95%, 57%)  Neon Green
#facd2a  rgb(250, 205, 42)  hsl(47, 95%, 57%)  Jonquil
#2afacd  rgb(42, 250, 205)  hsl(167, 95%, 57%)  Aquamarine