#CD2AF4

#cd2af4 ≈ Electric Purple

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

#cd2af4 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 95.69% blue; printed in CMYK it uses 15.98% cyan, 82.79% magenta, 0% yellow and 4.31% black. Its hue angle is 288.42°, with 90.18% saturation and 56.08% 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.23:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.3.

Description generated from the measured properties of this color.

Conversions of #cd2af4 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.2117

Readable text 4.01:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.23:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #a467ba ≈ 0.001% of males
Protanopia #0075f9 ≈ 1.01% of males
Deuteranopia #3784f0 ≈ 1.27% of males
Tritanopia #cc5c93 ≈ 0.0001% of males
Protanomaly #7d60f7 ≈ 1.08% of males
Deuteranomaly #8d6bf2 ≈ 4.63% of males
Tritanomaly #cc4dc2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cd2af4 {
  color: #cd2af4;
}
Background
.bg-cd2af4 {
  background-color: #cd2af4;
  color: #000000;
}
Border
.border-cd2af4 {
  border: 2px solid #cd2af4;
}
CSS variables
:root {
  --color-primary: #cd2af4;
  --color-primary-rgb: 205 42 244;
  --color-primary-hsl: 288 90% 56%;
}
Gradient
.gradient-cd2af4 {
  background: linear-gradient(135deg, #cd2af4, #f42ab6);
}
Colored shadow
.shadow-cd2af4 {
  box-shadow: 0 8px 24px rgb(205 42 244 / 0.35);
}

Electric Purple
#cd2af4  rgb(205, 42, 244)  hsl(288, 90%, 56%)  Electric Purple
#51f42a  rgb(81, 244, 42)  hsl(108, 90%, 56%)  Neon Green
#f4cd2a  rgb(244, 205, 42)  hsl(48, 90%, 56%)  Jonquil
#2af4cd  rgb(42, 244, 205)  hsl(168, 90%, 56%)  Aquamarine