#AF34EC

#af34ec ≈ Electric Purple

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

#af34ec is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 68.63% red, 20.39% green and 92.55% blue; printed in CMYK it uses 25.85% cyan, 77.97% magenta, 0% yellow and 7.45% black. Its hue angle is 280.11°, with 82.88% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 4.64:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.13.

Description generated from the measured properties of this color.

Conversions of #af34ec 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.1763

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

Achromatopsia #747474 ≈ 0.003% of males
Achromatomaly #9061b1 ≈ 0.001% of males
Protanopia #006ff1 ≈ 1.01% of males
Deuteranopia #0077e8 ≈ 1.27% of males
Tritanopia #a76290 ≈ 0.0001% of males
Protanomaly #655def ≈ 1.08% of males
Deuteranomaly #7263ea ≈ 4.63% of males
Tritanomaly #aa53bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#af34ec  rgb(175, 52, 236)  hsl(280, 83%, 56%)  Electric Purple
#71ec34  rgb(113, 236, 52)  hsl(100, 83%, 56%)  Lawn Green
#ecaf34  rgb(236, 175, 52)  hsl(40, 83%, 56%)  Goldenrod
#34ecaf  rgb(52, 236, 175)  hsl(160, 83%, 56%)  Medium Spring Green