#AF18EB

#af18eb ≈ Electric Purple

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

#af18eb 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.16% blue; printed in CMYK it uses 25.53% cyan, 89.79% magenta, 0% yellow and 7.84% black. Its hue angle is 282.94°, with 84.06% saturation and 50.78% 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.06:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.56.

Description generated from the measured properties of this color.

Conversions of #af18eb 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.1577

Readable text 5.06:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.15:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6f6f6f ≈ 0.003% of males
Achromatomaly #8d58af ≈ 0.001% of males
Protanopia #0068f0 ≈ 1.01% of males
Deuteranopia #0071e7 ≈ 1.27% of males
Tritanopia #a8588c ≈ 0.0001% of males
Protanomaly #5f53ee ≈ 1.08% of males
Deuteranomaly #6e5ae9 ≈ 4.63% of males
Tritanomaly #ab47ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#af18eb  rgb(175, 24, 235)  hsl(283, 84%, 51%)  Electric Purple
#54eb18  rgb(84, 235, 24)  hsl(103, 84%, 51%)  Harlequin
#ebaf18  rgb(235, 175, 24)  hsl(43, 84%, 51%)  Goldenrod
#18ebaf  rgb(24, 235, 175)  hsl(163, 84%, 51%)  Medium Spring Green