#CA0AFE

#ca0afe ≈ Electric Purple

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

#ca0afe is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 79.22% red, 3.92% green and 99.61% blue; printed in CMYK it uses 20.47% cyan, 96.06% magenta, 0% yellow and 0.39% black. Its hue angle is 287.21°, with 99.19% saturation and 51.76% 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 4.99:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.25.

Description generated from the measured properties of this color.

Conversions of #ca0afe into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc00ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1993

Readable text 4.21:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.99:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7b7b7b ≈ 0.003% of males
Achromatomaly #a161be ≈ 0.001% of males
Protanopia #0072ff ≈ 1.01% of males
Deuteranopia #0080fa ≈ 1.27% of males
Tritanopia #c65a96 ≈ 0.0001% of males
Protanomaly #735aff ≈ 1.08% of males
Deuteranomaly #8465fb ≈ 4.63% of males
Tritanomaly #c847c8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ca0afe {
  color: #ca0afe;
}
Background
.bg-ca0afe {
  background-color: #ca0afe;
  color: #000000;
}
Border
.border-ca0afe {
  border: 2px solid #ca0afe;
}
CSS variables
:root {
  --color-primary: #ca0afe;
  --color-primary-rgb: 202 10 254;
  --color-primary-hsl: 287 99% 52%;
}
Gradient
.gradient-ca0afe {
  background: linear-gradient(135deg, #ca0afe, #fe0ab8);
}
Colored shadow
.shadow-ca0afe {
  box-shadow: 0 8px 24px rgb(202 10 254 / 0.35);
}

Electric Purple
#ca0afe  rgb(202, 10, 254)  hsl(287, 99%, 52%)  Electric Purple
#3efe0a  rgb(62, 254, 10)  hsl(107, 99%, 52%)  Harlequin
#feca0a  rgb(254, 202, 10)  hsl(47, 99%, 52%)  Sunglow
#0afeca  rgb(10, 254, 202)  hsl(167, 99%, 52%)  Aquamarine