#CD2AF5

#cd2af5 ≈ Electric Purple

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

#cd2af5 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 96.08% blue; printed in CMYK it uses 16.33% cyan, 82.86% magenta, 0% yellow and 3.92% black. Its hue angle is 288.18°, with 91.03% saturation and 56.27% 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.25:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.27.

Description generated from the measured properties of this color.

Conversions of #cd2af5 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.2123

Readable text 4:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.25:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #a467ba ≈ 0.001% of males
Protanopia #0075fa ≈ 1.01% of males
Deuteranopia #3584f1 ≈ 1.27% of males
Tritanopia #cc5d94 ≈ 0.0001% of males
Protanomaly #7c60f8 ≈ 1.08% of males
Deuteranomaly #8d6bf3 ≈ 4.63% of males
Tritanomaly #cc4dc3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#cd2af5  rgb(205, 42, 245)  hsl(288, 91%, 56%)  Electric Purple
#52f52a  rgb(82, 245, 42)  hsl(108, 91%, 56%)  Neon Green
#f5cd2a  rgb(245, 205, 42)  hsl(48, 91%, 56%)  Jonquil
#2af5cd  rgb(42, 245, 205)  hsl(168, 91%, 56%)  Aquamarine