#CA2AFA

#ca2afa ≈ Electric Purple

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

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

Description generated from the measured properties of this color.

Conversions of #ca2afa 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.2111

Readable text 4.02:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.22:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #a267bd ≈ 0.001% of males
Protanopia #0076ff ≈ 1.01% of males
Deuteranopia #2683f6 ≈ 1.27% of males
Tritanopia #c76097 ≈ 0.0001% of males
Protanomaly #7860fd ≈ 1.08% of males
Deuteranomaly #886af8 ≈ 4.63% of males
Tritanomaly #c84fc7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#ca2afa  rgb(202, 42, 250)  hsl(286, 95%, 57%)  Electric Purple
#5afa2a  rgb(90, 250, 42)  hsl(106, 95%, 57%)  Harlequin
#faca2a  rgb(250, 202, 42)  hsl(46, 95%, 57%)  Sunglow
#2afaca  rgb(42, 250, 202)  hsl(166, 95%, 57%)  Aquamarine