#AF2BE8

#af2be8 ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Cool

#af2be8 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 68.63% red, 16.86% green and 90.98% blue; printed in CMYK it uses 24.57% cyan, 81.47% magenta, 0% yellow and 9.02% black. Its hue angle is 281.9°, with 80.43% saturation and 53.92% 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.85:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.34.

Description generated from the measured properties of this color.

Conversions of #af2be8 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.1667

Readable text 4.85:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.33:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #717171 ≈ 0.003% of males
Achromatomaly #8e5dae ≈ 0.001% of males
Protanopia #006bed ≈ 1.01% of males
Deuteranopia #0074e4 ≈ 1.27% of males
Tritanopia #a85c8c ≈ 0.0001% of males
Protanomaly #6458eb ≈ 1.08% of males
Deuteranomaly #725fe6 ≈ 4.63% of males
Tritanomaly #ab4db8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-af2be8 {
  color: #af2be8;
}
Background
.bg-af2be8 {
  background-color: #af2be8;
  color: #ffffff;
}
Border
.border-af2be8 {
  border: 2px solid #af2be8;
}
CSS variables
:root {
  --color-primary: #af2be8;
  --color-primary-rgb: 175 43 232;
  --color-primary-hsl: 282 80% 54%;
}
Gradient
.gradient-af2be8 {
  background: linear-gradient(135deg, #af2be8, #e82bc3);
}
Colored shadow
.shadow-af2be8 {
  box-shadow: 0 8px 24px rgb(175 43 232 / 0.35);
}

Electric Purple
#af2be8  rgb(175, 43, 232)  hsl(282, 80%, 54%)  Electric Purple
#64e82b  rgb(100, 232, 43)  hsl(102, 80%, 54%)  Harlequin
#e8af2b  rgb(232, 175, 43)  hsl(42, 80%, 54%)  Goldenrod
#2be8af  rgb(43, 232, 175)  hsl(162, 80%, 54%)  Caribbean Green