#A151FA

#a151fa ≈ Electric Purple

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

#a151fa is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 63.14% red, 31.76% green and 98.04% blue; printed in CMYK it uses 35.6% cyan, 67.6% magenta, 0% yellow and 1.96% black. Its hue angle is 268.4°, with 94.41% saturation and 64.9% 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.07:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.98.

Description generated from the measured properties of this color.

Conversions of #a151fa 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.2036

Readable text 4.14:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.07:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7d7d7d ≈ 0.003% of males
Achromatomaly #8d6ebc ≈ 0.001% of males
Protanopia #007cff ≈ 1.01% of males
Deuteranopia #007cf6 ≈ 1.27% of males
Tritanopia #8e799f ≈ 0.0001% of males
Protanomaly #5d6dfd ≈ 1.08% of males
Deuteranomaly #666df8 ≈ 4.63% of males
Tritanomaly #966bca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a151fa {
  color: #a151fa;
}
Background
.bg-a151fa {
  background-color: #a151fa;
  color: #000000;
}
Border
.border-a151fa {
  border: 2px solid #a151fa;
}
CSS variables
:root {
  --color-primary: #a151fa;
  --color-primary-rgb: 161 81 250;
  --color-primary-hsl: 268 94% 65%;
}
Gradient
.gradient-a151fa {
  background: linear-gradient(135deg, #a151fa, #f551fa);
}
Colored shadow
.shadow-a151fa {
  box-shadow: 0 8px 24px rgb(161 81 250 / 0.35);
}

Electric Purple
#a151fa  rgb(161, 81, 250)  hsl(268, 94%, 65%)  Electric Purple
#aafa51  rgb(170, 250, 81)  hsl(88, 94%, 65%)  Green Yellow
#faa151  rgb(250, 161, 81)  hsl(28, 94%, 65%)  Sandy Brown
#51faa1  rgb(81, 250, 161)  hsl(148, 94%, 65%)  Medium Spring Green