#CD22FA

#cd22fa ≈ Electric Purple

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

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

Description generated from the measured properties of this color.

Conversions of #cd22fa 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.2103

Readable text 4.03:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.21:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7e7e7e ≈ 0.003% of males
Achromatomaly #a466bd ≈ 0.001% of males
Protanopia #0075ff ≈ 1.01% of males
Deuteranopia #2783f6 ≈ 1.27% of males
Tritanopia #cb5c96 ≈ 0.0001% of males
Protanomaly #795efd ≈ 1.08% of males
Deuteranomaly #8b69f7 ≈ 4.63% of males
Tritanomaly #cc4bc6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#cd22fa  rgb(205, 34, 250)  hsl(288, 96%, 56%)  Electric Purple
#4ffa22  rgb(79, 250, 34)  hsl(108, 96%, 56%)  Neon Green
#facd22  rgb(250, 205, 34)  hsl(48, 96%, 56%)  Jonquil
#22facd  rgb(34, 250, 205)  hsl(168, 96%, 56%)  Aquamarine