#AF2EFE

#af2efe ≈ Electric Purple

  • violet
  • Lightness: medium
  • Saturation: vivid
  • Cool

#af2efe is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 68.63% red, 18.04% green and 99.61% blue; printed in CMYK it uses 31.1% cyan, 81.89% magenta, 0% yellow and 0.39% black. Its hue angle is 277.21°, with 99.05% saturation and 58.82% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. Black text on this color reaches a contrast ratio of 4.64:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.55.

Description generated from the measured properties of this color.

Conversions of #af2efe 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.1822

Readable text 4.52:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.64:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #767676 ≈ 0.003% of males
Achromatomaly #9061bc ≈ 0.001% of males
Protanopia #0072ff ≈ 1.01% of males
Deuteranopia #0077fa ≈ 1.27% of males
Tritanopia #a2689a ≈ 0.0001% of males
Protanomaly #5c5eff ≈ 1.08% of males
Deuteranomaly #6a62fc ≈ 4.63% of males
Tritanomaly #a756ca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-af2efe {
  color: #af2efe;
}
Background
.bg-af2efe {
  background-color: #af2efe;
  color: #000000;
}
Border
.border-af2efe {
  border: 2px solid #af2efe;
}
CSS variables
:root {
  --color-primary: #af2efe;
  --color-primary-rgb: 175 46 254;
  --color-primary-hsl: 277 99% 59%;
}
Gradient
.gradient-af2efe {
  background: linear-gradient(135deg, #af2efe, #fe2ee5);
}
Colored shadow
.shadow-af2efe {
  box-shadow: 0 8px 24px rgb(175 46 254 / 0.35);
}

Electric Purple
#af2efe  rgb(175, 46, 254)  hsl(277, 99%, 59%)  Electric Purple
#7dfe2e  rgb(125, 254, 46)  hsl(97, 99%, 59%)  Lawn Green
#feaf2e  rgb(254, 175, 46)  hsl(37, 99%, 59%)  Pastel Orange
#2efeaf  rgb(46, 254, 175)  hsl(157, 99%, 59%)  Medium Spring Green