#CA28ED

#ca28ed ≈ Electric Purple

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

#ca28ed is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 79.22% red, 15.69% green and 92.94% blue; printed in CMYK it uses 14.77% cyan, 83.12% magenta, 0% yellow and 7.06% black. Its hue angle is 289.34°, with 84.55% saturation and 54.31% 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.04:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.99.

Description generated from the measured properties of this color.

Conversions of #ca28ed 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.2019

Readable text 4.17:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.04:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7c7c7c ≈ 0.003% of males
Achromatomaly #a165b5 ≈ 0.001% of males
Protanopia #0072f2 ≈ 1.01% of males
Deuteranopia #3a81e9 ≈ 1.27% of males
Tritanopia #ca588f ≈ 0.0001% of males
Protanomaly #7b5df0 ≈ 1.08% of males
Deuteranomaly #8c69eb ≈ 4.63% of males
Tritanomaly #ca4abc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ca28ed {
  color: #ca28ed;
}
Background
.bg-ca28ed {
  background-color: #ca28ed;
  color: #000000;
}
Border
.border-ca28ed {
  border: 2px solid #ca28ed;
}
CSS variables
:root {
  --color-primary: #ca28ed;
  --color-primary-rgb: 202 40 237;
  --color-primary-hsl: 289 85% 54%;
}
Gradient
.gradient-ca28ed {
  background: linear-gradient(135deg, #ca28ed, #ed28ad);
}
Colored shadow
.shadow-ca28ed {
  box-shadow: 0 8px 24px rgb(202 40 237 / 0.35);
}

Electric Purple
#ca28ed  rgb(202, 40, 237)  hsl(289, 85%, 54%)  Electric Purple
#4bed28  rgb(75, 237, 40)  hsl(109, 85%, 54%)  Neon Green
#edca28  rgb(237, 202, 40)  hsl(49, 85%, 54%)  Jonquil
#28edca  rgb(40, 237, 202)  hsl(169, 85%, 54%)  Turquoise