#AF2FEE

#af2fee ≈ Electric Purple

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

#af2fee is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 68.63% red, 18.43% green and 93.33% blue; printed in CMYK it uses 26.47% cyan, 80.25% magenta, 0% yellow and 6.67% black. Its hue angle is 280.21°, with 84.89% saturation and 55.88% 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.7:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.86.

Description generated from the measured properties of this color.

Conversions of #af2fee 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.1732

Readable text 4.7:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.46:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #747474 ≈ 0.003% of males
Achromatomaly #8f5fb2 ≈ 0.001% of males
Protanopia #006ef3 ≈ 1.01% of males
Deuteranopia #0076ea ≈ 1.27% of males
Tritanopia #a66191 ≈ 0.0001% of males
Protanomaly #635bf1 ≈ 1.08% of males
Deuteranomaly #7161ec ≈ 4.63% of males
Tritanomaly #aa51bd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#af2fee  rgb(175, 47, 238)  hsl(280, 85%, 56%)  Electric Purple
#6eee2f  rgb(110, 238, 47)  hsl(100, 85%, 56%)  Lawn Green
#eeaf2f  rgb(238, 175, 47)  hsl(40, 85%, 56%)  Marigold
#2feeaf  rgb(47, 238, 175)  hsl(160, 85%, 56%)  Medium Spring Green