#8A28FA

#8a28fa ≈ Electric Violet

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

#8a28fa is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 54.12% red, 15.69% green and 98.04% blue; printed in CMYK it uses 44.8% cyan, 84% magenta, 0% yellow and 1.96% black. Its hue angle is 268°, with 95.45% saturation and 56.86% 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. White text on this color reaches a contrast ratio of 5.58:1 (WCAG AA). The closest named color is Electric Violet (#8f00ff), ΔE 2.07.

Description generated from the measured properties of this color.

Conversions of #8a28fa 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.1382

Readable text 5.58:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.76:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #686868 ≈ 0.003% of males
Achromatomaly #7755b6 ≈ 0.001% of males
Protanopia #0069ff ≈ 1.01% of males
Deuteranopia #0065f6 ≈ 1.27% of males
Tritanopia #6b6996 ≈ 0.0001% of males
Protanomaly #2856fd ≈ 1.08% of males
Deuteranomaly #3753f8 ≈ 4.63% of males
Tritanomaly #7956c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a28fa {
  color: #8a28fa;
}
Background
.bg-8a28fa {
  background-color: #8a28fa;
  color: #ffffff;
}
Border
.border-8a28fa {
  border: 2px solid #8a28fa;
}
CSS variables
:root {
  --color-primary: #8a28fa;
  --color-primary-rgb: 138 40 250;
  --color-primary-hsl: 268 95% 57%;
}
Gradient
.gradient-8a28fa {
  background: linear-gradient(135deg, #8a28fa, #f328fa);
}
Colored shadow
.shadow-8a28fa {
  box-shadow: 0 8px 24px rgb(138 40 250 / 0.35);
}

Electric Violet
#8a28fa  rgb(138, 40, 250)  hsl(268, 95%, 57%)  Electric Violet
#98fa28  rgb(152, 250, 40)  hsl(88, 95%, 57%)  Green Yellow
#fa8a28  rgb(250, 138, 40)  hsl(28, 95%, 57%)  Cadmium Orange
#28fa8a  rgb(40, 250, 138)  hsl(148, 95%, 57%)  Spring Green