#AF2BF0

#af2bf0 ≈ Electric Purple

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

#af2bf0 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 68.63% red, 16.86% green and 94.12% blue; printed in CMYK it uses 27.08% cyan, 82.08% magenta, 0% yellow and 5.88% black. Its hue angle is 280.2°, with 86.78% saturation and 55.49% 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.74:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.7.

Description generated from the measured properties of this color.

Conversions of #af2bf0 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.1713

Readable text 4.74:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.43:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #737373 ≈ 0.003% of males
Achromatomaly #8f5eb3 ≈ 0.001% of males
Protanopia #006ef5 ≈ 1.01% of males
Deuteranopia #0075ec ≈ 1.27% of males
Tritanopia #a66091 ≈ 0.0001% of males
Protanomaly #615af3 ≈ 1.08% of males
Deuteranomaly #6f60ee ≈ 4.63% of males
Tritanomaly #aa50bf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-af2bf0 {
  color: #af2bf0;
}
Background
.bg-af2bf0 {
  background-color: #af2bf0;
  color: #ffffff;
}
Border
.border-af2bf0 {
  border: 2px solid #af2bf0;
}
CSS variables
:root {
  --color-primary: #af2bf0;
  --color-primary-rgb: 175 43 240;
  --color-primary-hsl: 280 87% 55%;
}
Gradient
.gradient-af2bf0 {
  background: linear-gradient(135deg, #af2bf0, #f02bcf);
}
Colored shadow
.shadow-af2bf0 {
  box-shadow: 0 8px 24px rgb(175 43 240 / 0.35);
}

Electric Purple
#af2bf0  rgb(175, 43, 240)  hsl(280, 87%, 55%)  Electric Purple
#6cf02b  rgb(108, 240, 43)  hsl(100, 87%, 55%)  Lawn Green
#f0af2b  rgb(240, 175, 43)  hsl(40, 87%, 55%)  Marigold
#2bf0af  rgb(43, 240, 175)  hsl(160, 87%, 55%)  Medium Spring Green