#AF23EF

#af23ef ≈ Electric Purple

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

#af23ef 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 93.73% blue; printed in CMYK it uses 26.78% cyan, 85.36% magenta, 0% yellow and 6.27% black. Its hue angle is 281.18°, with 86.44% saturation and 53.73% 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.87:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.88.

Description generated from the measured properties of this color.

Conversions of #af23ef 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.1655

Readable text 4.87:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.31:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #717171 ≈ 0.003% of males
Achromatomaly #8e5cb2 ≈ 0.001% of males
Protanopia #006bf4 ≈ 1.01% of males
Deuteranopia #0073eb ≈ 1.27% of males
Tritanopia #a65d8f ≈ 0.0001% of males
Protanomaly #5f57f2 ≈ 1.08% of males
Deuteranomaly #6e5ded ≈ 4.63% of males
Tritanomaly #aa4cbd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-af23ef {
  color: #af23ef;
}
Background
.bg-af23ef {
  background-color: #af23ef;
  color: #ffffff;
}
Border
.border-af23ef {
  border: 2px solid #af23ef;
}
CSS variables
:root {
  --color-primary: #af23ef;
  --color-primary-rgb: 175 35 239;
  --color-primary-hsl: 281 86% 54%;
}
Gradient
.gradient-af23ef {
  background: linear-gradient(135deg, #af23ef, #ef23c9);
}
Colored shadow
.shadow-af23ef {
  box-shadow: 0 8px 24px rgb(175 35 239 / 0.35);
}

Electric Purple
#af23ef  rgb(175, 35, 239)  hsl(281, 86%, 54%)  Electric Purple
#63ef23  rgb(99, 239, 35)  hsl(101, 86%, 54%)  Harlequin
#efaf23  rgb(239, 175, 35)  hsl(41, 86%, 54%)  Goldenrod
#23efaf  rgb(35, 239, 175)  hsl(161, 86%, 54%)  Medium Spring Green