#C22AFA

#c22afa ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Cool

#c22afa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 76.08% red, 16.47% green and 98.04% blue; printed in CMYK it uses 22.4% cyan, 83.2% magenta, 0% yellow and 1.96% black. Its hue angle is 283.85°, with 95.41% saturation and 57.25% lightness in HSL. It is a cool color, 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.01:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.47.

Description generated from the measured properties of this color.

Conversions of #c22afa 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.2003

Readable text 4.2:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.01:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7c7c7c ≈ 0.003% of males
Achromatomaly #9d65bc ≈ 0.001% of males
Protanopia #0074ff ≈ 1.01% of males
Deuteranopia #017ff6 ≈ 1.27% of males
Tritanopia #bc6197 ≈ 0.0001% of males
Protanomaly #705ffd ≈ 1.08% of males
Deuteranomaly #8067f8 ≈ 4.63% of males
Tritanomaly #bf51c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c22afa {
  color: #c22afa;
}
Background
.bg-c22afa {
  background-color: #c22afa;
  color: #000000;
}
Border
.border-c22afa {
  border: 2px solid #c22afa;
}
CSS variables
:root {
  --color-primary: #c22afa;
  --color-primary-rgb: 194 42 250;
  --color-primary-hsl: 284 95% 57%;
}
Gradient
.gradient-c22afa {
  background: linear-gradient(135deg, #c22afa, #fa2aca);
}
Colored shadow
.shadow-c22afa {
  box-shadow: 0 8px 24px rgb(194 42 250 / 0.35);
}

Electric Purple
#c22afa  rgb(194, 42, 250)  hsl(284, 95%, 57%)  Electric Purple
#62fa2a  rgb(98, 250, 42)  hsl(104, 95%, 57%)  Harlequin
#fac22a  rgb(250, 194, 42)  hsl(44, 95%, 57%)  Golden Poppy
#2afac2  rgb(42, 250, 194)  hsl(164, 95%, 57%)  Aquamarine