#CD0AFE

#cd0afe ≈ Electric Purple

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

#cd0afe is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 3.92% green and 99.61% blue; printed in CMYK it uses 19.29% cyan, 96.06% magenta, 0% yellow and 0.39% black. Its hue angle is 287.95°, with 99.19% saturation and 51.76% 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 2.81.

Description generated from the measured properties of this color.

Conversions of #cd0afe 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.2035

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

Achromatopsia #7d7d7d ≈ 0.003% of males
Achromatomaly #a362bf ≈ 0.001% of males
Protanopia #0073ff ≈ 1.01% of males
Deuteranopia #0381fa ≈ 1.27% of males
Tritanopia #ca5a96 ≈ 0.0001% of males
Protanomaly #765bff ≈ 1.08% of males
Deuteranomaly #8866fb ≈ 4.63% of males
Tritanomaly #cb46c8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cd0afe {
  color: #cd0afe;
}
Background
.bg-cd0afe {
  background-color: #cd0afe;
  color: #000000;
}
Border
.border-cd0afe {
  border: 2px solid #cd0afe;
}
CSS variables
:root {
  --color-primary: #cd0afe;
  --color-primary-rgb: 205 10 254;
  --color-primary-hsl: 288 99% 52%;
}
Gradient
.gradient-cd0afe {
  background: linear-gradient(135deg, #cd0afe, #fe0ab5);
}
Colored shadow
.shadow-cd0afe {
  box-shadow: 0 8px 24px rgb(205 10 254 / 0.35);
}

Electric Purple
#cd0afe  rgb(205, 10, 254)  hsl(288, 99%, 52%)  Electric Purple
#3bfe0a  rgb(59, 254, 10)  hsl(108, 99%, 52%)  Neon Green
#fecd0a  rgb(254, 205, 10)  hsl(48, 99%, 52%)  Cyber Yellow
#0afecd  rgb(10, 254, 205)  hsl(168, 99%, 52%)  Aquamarine