#AF2CEB

#af2ceb ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Cool

#af2ceb is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 68.63% red, 17.25% green and 92.16% blue; printed in CMYK it uses 25.53% cyan, 81.28% magenta, 0% yellow and 7.84% black. Its hue angle is 281.15°, with 82.68% saturation and 54.71% 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. White text on this color reaches a contrast ratio of 4.79:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.07.

Description generated from the measured properties of this color.

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

Readable text 4.79:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.38:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #727272 ≈ 0.003% of males
Achromatomaly #8f5eb0 ≈ 0.001% of males
Protanopia #006cf0 ≈ 1.01% of males
Deuteranopia #0075e7 ≈ 1.27% of males
Tritanopia #a75e8e ≈ 0.0001% of males
Protanomaly #6359ee ≈ 1.08% of males
Deuteranomaly #7160e9 ≈ 4.63% of males
Tritanomaly #aa4fbb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-af2ceb {
  color: #af2ceb;
}
Background
.bg-af2ceb {
  background-color: #af2ceb;
  color: #ffffff;
}
Border
.border-af2ceb {
  border: 2px solid #af2ceb;
}
CSS variables
:root {
  --color-primary: #af2ceb;
  --color-primary-rgb: 175 44 235;
  --color-primary-hsl: 281 83% 55%;
}
Gradient
.gradient-af2ceb {
  background: linear-gradient(135deg, #af2ceb, #eb2cc8);
}
Colored shadow
.shadow-af2ceb {
  box-shadow: 0 8px 24px rgb(175 44 235 / 0.35);
}

Electric Purple
#af2ceb  rgb(175, 44, 235)  hsl(281, 83%, 55%)  Electric Purple
#68eb2c  rgb(104, 235, 44)  hsl(101, 83%, 55%)  Lawn Green
#ebaf2c  rgb(235, 175, 44)  hsl(41, 83%, 55%)  Goldenrod
#2cebaf  rgb(44, 235, 175)  hsl(161, 83%, 55%)  Medium Spring Green