#AF23EC

#af23ec ≈ Electric Purple

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

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

Description generated from the measured properties of this color.

Conversions of #af23ec 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.1637

Readable text 4.91:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.27:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #717171 ≈ 0.003% of males
Achromatomaly #8e5bb0 ≈ 0.001% of males
Protanopia #006af1 ≈ 1.01% of males
Deuteranopia #0073e8 ≈ 1.27% of males
Tritanopia #a75c8e ≈ 0.0001% of males
Protanomaly #6056ef ≈ 1.08% of males
Deuteranomaly #6f5dea ≈ 4.63% of males
Tritanomaly #aa4bbb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#af23ec  rgb(175, 35, 236)  hsl(282, 84%, 53%)  Electric Purple
#60ec23  rgb(96, 236, 35)  hsl(102, 84%, 53%)  Harlequin
#ecaf23  rgb(236, 175, 35)  hsl(42, 84%, 53%)  Goldenrod
#23ecaf  rgb(35, 236, 175)  hsl(162, 84%, 53%)  Medium Spring Green