#A252FF

#a252ff ≈ Electric Purple

  • violet
  • Lightness: high
  • Saturation: strong
  • Cool

#a252ff is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 63.53% red, 32.16% green and 100% blue; printed in CMYK it uses 36.47% cyan, 67.84% magenta, 0% yellow and 0% black. Its hue angle is 267.75°, with 100% saturation and 66.08% 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 5.19:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 7.26.

Description generated from the measured properties of this color.

Conversions of #a252ff into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#9966ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2094

Readable text 4.05:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.19:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7e7e7e ≈ 0.003% of males
Achromatomaly #8e6fc0 ≈ 0.001% of males
Protanopia #007eff ≈ 1.01% of males
Deuteranopia #007dfb ≈ 1.27% of males
Tritanopia #8d7ba3 ≈ 0.0001% of males
Protanomaly #5c6fff ≈ 1.08% of males
Deuteranomaly #656efd ≈ 4.63% of males
Tritanomaly #966dce ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a252ff {
  color: #a252ff;
}
Background
.bg-a252ff {
  background-color: #a252ff;
  color: #000000;
}
Border
.border-a252ff {
  border: 2px solid #a252ff;
}
CSS variables
:root {
  --color-primary: #a252ff;
  --color-primary-rgb: 162 82 255;
  --color-primary-hsl: 268 100% 66%;
}
Gradient
.gradient-a252ff {
  background: linear-gradient(135deg, #a252ff, #f952ff);
}
Colored shadow
.shadow-a252ff {
  box-shadow: 0 8px 24px rgb(162 82 255 / 0.35);
}

Electric Purple
#a252ff  rgb(162, 82, 255)  hsl(268, 100%, 66%)  Electric Purple
#afff52  rgb(175, 255, 82)  hsl(88, 100%, 66%)  Green Yellow
#ffa252  rgb(255, 162, 82)  hsl(28, 100%, 66%)  Sandy Brown
#52ffa2  rgb(82, 255, 162)  hsl(148, 100%, 66%)  Medium Spring Green