#AF30FF

#af30ff ≈ Electric Purple

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

#af30ff 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.82% green and 100% blue; printed in CMYK it uses 31.37% cyan, 81.18% magenta, 0% yellow and 0% black. Its hue angle is 276.81°, with 100% saturation and 59.41% 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.69:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.69.

Description generated from the measured properties of this color.

Conversions of #af30ff 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.1845

Readable text 4.48:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.69:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #777777 ≈ 0.003% of males
Achromatomaly #9162bd ≈ 0.001% of males
Protanopia #0073ff ≈ 1.01% of males
Deuteranopia #0078fb ≈ 1.27% of males
Tritanopia #a1699b ≈ 0.0001% of males
Protanomaly #5c5fff ≈ 1.08% of males
Deuteranomaly #6a63fd ≈ 4.63% of males
Tritanomaly #a758cb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#af30ff  rgb(175, 48, 255)  hsl(277, 100%, 59%)  Electric Purple
#80ff30  rgb(128, 255, 48)  hsl(97, 100%, 59%)  Chartreuse
#ffaf30  rgb(255, 175, 48)  hsl(37, 100%, 59%)  Pastel Orange
#30ffaf  rgb(48, 255, 175)  hsl(157, 100%, 59%)  Medium Spring Green