#CD22FC

#cd22fc ≈ Electric Purple

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

#cd22fc 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.82% blue; printed in CMYK it uses 18.65% cyan, 86.51% magenta, 0% yellow and 1.18% black. Its hue angle is 287.06°, with 97.32% 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 3.69.

Description generated from the measured properties of this color.

Conversions of #cd22fc 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.2115

Readable text 4.02: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 #a466be ≈ 0.001% of males
Protanopia #0075ff ≈ 1.01% of males
Deuteranopia #2283f8 ≈ 1.27% of males
Tritanopia #ca5e97 ≈ 0.0001% of males
Protanomaly #795fff ≈ 1.08% of males
Deuteranomaly #8a6af9 ≈ 4.63% of males
Tritanomaly #cb4cc8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#cd22fc  rgb(205, 34, 252)  hsl(287, 97%, 56%)  Electric Purple
#51fc22  rgb(81, 252, 34)  hsl(107, 97%, 56%)  Harlequin
#fccd22  rgb(252, 205, 34)  hsl(47, 97%, 56%)  Jonquil
#22fccd  rgb(34, 252, 205)  hsl(167, 97%, 56%)  Aquamarine