#AF41DF

#af41df ≈ Electric Purple

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

#af41df is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 68.63% red, 25.49% green and 87.45% blue; printed in CMYK it uses 21.52% cyan, 70.85% magenta, 0% yellow and 12.55% black. Its hue angle is 281.77°, with 71.17% saturation and 56.47% 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 brand accents. Black text on this color reaches a contrast ratio of 4.64:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.92.

Description generated from the measured properties of this color.

Conversions of #af41df into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#9933cc
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 #9065aa ≈ 0.001% of males
Protanopia #0071e4 ≈ 1.01% of males
Deuteranopia #3479dc ≈ 1.27% of males
Tritanopia #aa638c ≈ 0.0001% of males
Protanomaly #6d61e2 ≈ 1.08% of males
Deuteranomaly #7967dd ≈ 4.63% of males
Tritanomaly #ac57b3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-af41df {
  color: #af41df;
}
Background
.bg-af41df {
  background-color: #af41df;
  color: #000000;
}
Border
.border-af41df {
  border: 2px solid #af41df;
}
CSS variables
:root {
  --color-primary: #af41df;
  --color-primary-rgb: 175 65 223;
  --color-primary-hsl: 282 71% 56%;
}
Gradient
.gradient-af41df {
  background: linear-gradient(135deg, #af41df, #df41c0);
}
Colored shadow
.shadow-af41df {
  box-shadow: 0 8px 24px rgb(175 65 223 / 0.35);
}

Electric Purple
#af41df  rgb(175, 65, 223)  hsl(282, 71%, 56%)  Electric Purple
#71df41  rgb(113, 223, 65)  hsl(102, 71%, 56%)  Lime Green
#dfaf41  rgb(223, 175, 65)  hsl(42, 71%, 56%)  Meat Brown
#41dfaf  rgb(65, 223, 175)  hsl(162, 71%, 56%)  Caribbean Green