#CF22FD

#cf22fd ≈ Electric Purple

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

#cf22fd is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 13.33% green and 99.22% blue; printed in CMYK it uses 18.18% cyan, 86.56% magenta, 0% yellow and 0.78% black. Its hue angle is 287.4°, with 98.21% 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.3:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.06.

Description generated from the measured properties of this color.

Conversions of #cf22fd 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.215

Readable text 3.96:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.3:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #a567bf ≈ 0.001% of males
Protanopia #0076ff ≈ 1.01% of males
Deuteranopia #2684f9 ≈ 1.27% of males
Tritanopia #cc5e98 ≈ 0.0001% of males
Protanomaly #7a5fff ≈ 1.08% of males
Deuteranomaly #8c6bfa ≈ 4.63% of males
Tritanomaly #cd4cc8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#cf22fd  rgb(207, 34, 253)  hsl(287, 98%, 56%)  Electric Purple
#50fd22  rgb(80, 253, 34)  hsl(107, 98%, 56%)  Harlequin
#fdcf22  rgb(253, 207, 34)  hsl(47, 98%, 56%)  Cyber Yellow
#22fdcf  rgb(34, 253, 207)  hsl(167, 98%, 56%)  Aquamarine