#AF1EEC

#af1eec ≈ Electric Purple

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

#af1eec is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 68.63% red, 11.76% green and 92.55% blue; printed in CMYK it uses 25.85% cyan, 87.29% magenta, 0% yellow and 7.45% black. Its hue angle is 282.23°, with 84.43% saturation and 52.16% 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.98:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.28.

Description generated from the measured properties of this color.

Conversions of #af1eec 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.161

Readable text 4.98:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.22:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #8d5ab0 ≈ 0.001% of males
Protanopia #0069f1 ≈ 1.01% of males
Deuteranopia #0072e8 ≈ 1.27% of males
Tritanopia #a75a8d ≈ 0.0001% of males
Protanomaly #6055ef ≈ 1.08% of males
Deuteranomaly #6f5cea ≈ 4.63% of males
Tritanomaly #aa49bb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-af1eec {
  color: #af1eec;
}
Background
.bg-af1eec {
  background-color: #af1eec;
  color: #ffffff;
}
Border
.border-af1eec {
  border: 2px solid #af1eec;
}
CSS variables
:root {
  --color-primary: #af1eec;
  --color-primary-rgb: 175 30 236;
  --color-primary-hsl: 282 84% 52%;
}
Gradient
.gradient-af1eec {
  background: linear-gradient(135deg, #af1eec, #ec1ec2);
}
Colored shadow
.shadow-af1eec {
  box-shadow: 0 8px 24px rgb(175 30 236 / 0.35);
}

Electric Purple
#af1eec  rgb(175, 30, 236)  hsl(282, 84%, 52%)  Electric Purple
#5bec1e  rgb(91, 236, 30)  hsl(102, 84%, 52%)  Harlequin
#ecaf1e  rgb(236, 175, 30)  hsl(42, 84%, 52%)  Goldenrod
#1eecaf  rgb(30, 236, 175)  hsl(162, 84%, 52%)  Medium Spring Green