#AF34FF

#af34ff ≈ Electric Purple

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

#af34ff is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 68.63% red, 20.39% green and 100% blue; printed in CMYK it uses 31.37% cyan, 79.61% magenta, 0% yellow and 0% black. Its hue angle is 276.35°, with 100% saturation and 60.2% 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.76:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.95.

Description generated from the measured properties of this color.

Conversions of #af34ff 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.1879

Readable text 4.41:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.76:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #787878 ≈ 0.003% of males
Achromatomaly #9164be ≈ 0.001% of males
Protanopia #0074ff ≈ 1.01% of males
Deuteranopia #0079fb ≈ 1.27% of males
Tritanopia #a16b9b ≈ 0.0001% of males
Protanomaly #5d61ff ≈ 1.08% of males
Deuteranomaly #6b64fd ≈ 4.63% of males
Tritanomaly #a75acb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-af34ff {
  color: #af34ff;
}
Background
.bg-af34ff {
  background-color: #af34ff;
  color: #000000;
}
Border
.border-af34ff {
  border: 2px solid #af34ff;
}
CSS variables
:root {
  --color-primary: #af34ff;
  --color-primary-rgb: 175 52 255;
  --color-primary-hsl: 276 100% 60%;
}
Gradient
.gradient-af34ff {
  background: linear-gradient(135deg, #af34ff, #ff34ea);
}
Colored shadow
.shadow-af34ff {
  box-shadow: 0 8px 24px rgb(175 52 255 / 0.35);
}

Electric Purple
#af34ff  rgb(175, 52, 255)  hsl(276, 100%, 60%)  Electric Purple
#84ff34  rgb(132, 255, 52)  hsl(96, 100%, 60%)  Chartreuse
#ffaf34  rgb(255, 175, 52)  hsl(36, 100%, 60%)  Pastel Orange
#34ffaf  rgb(52, 255, 175)  hsl(156, 100%, 60%)  Medium Spring Green