#AF18EC

#af18ec ≈ Electric Purple

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

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

Description generated from the measured properties of this color.

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

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

Achromatopsia #6f6f6f ≈ 0.003% of males
Achromatomaly #8d58af ≈ 0.001% of males
Protanopia #0068f1 ≈ 1.01% of males
Deuteranopia #0071e8 ≈ 1.27% of males
Tritanopia #a7588c ≈ 0.0001% of males
Protanomaly #5f53ef ≈ 1.08% of males
Deuteranomaly #6e5aea ≈ 4.63% of males
Tritanomaly #aa47ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#af18ec  rgb(175, 24, 236)  hsl(283, 85%, 51%)  Electric Purple
#55ec18  rgb(85, 236, 24)  hsl(103, 85%, 51%)  Harlequin
#ecaf18  rgb(236, 175, 24)  hsl(43, 85%, 51%)  Goldenrod
#18ecaf  rgb(24, 236, 175)  hsl(163, 85%, 51%)  Medium Spring Green