#A254FA

#a254fa ≈ Electric Purple

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

#a254fa 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.94% green and 98.04% blue; printed in CMYK it uses 35.2% cyan, 66.4% magenta, 0% yellow and 1.96% black. Its hue angle is 268.19°, with 94.32% saturation and 65.49% 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.18:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 7.43.

Description generated from the measured properties of this color.

Conversions of #a254fa 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.2092

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

Achromatopsia #7e7e7e ≈ 0.003% of males
Achromatomaly #8e70bd ≈ 0.001% of males
Protanopia #007dff ≈ 1.01% of males
Deuteranopia #007df6 ≈ 1.27% of males
Tritanopia #8f7aa0 ≈ 0.0001% of males
Protanomaly #606ffd ≈ 1.08% of males
Deuteranomaly #686ff8 ≈ 4.63% of males
Tritanomaly #976dcb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#a254fa  rgb(162, 84, 250)  hsl(268, 94%, 65%)  Electric Purple
#acfa54  rgb(172, 250, 84)  hsl(88, 94%, 65%)  Green Yellow
#faa254  rgb(250, 162, 84)  hsl(28, 94%, 65%)  Sandy Brown
#54faa2  rgb(84, 250, 162)  hsl(148, 94%, 65%)  Medium Spring Green