#8A02FA

#8a02fa ≈ Electric Violet

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

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

Description generated from the measured properties of this color.

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

Readable text 6.05:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.47:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #636363 ≈ 0.003% of males
Achromatomaly #744db4 ≈ 0.001% of males
Protanopia #0063ff ≈ 1.01% of males
Deuteranopia #0060f6 ≈ 1.27% of males
Tritanopia #6b6293 ≈ 0.0001% of males
Protanomaly #154dfd ≈ 1.08% of males
Deuteranomaly #2e4bf8 ≈ 4.63% of males
Tritanomaly #794dc5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Violet
#8a02fa  rgb(138, 2, 250)  hsl(273, 98%, 49%)  Electric Violet
#72fa02  rgb(114, 250, 2)  hsl(93, 98%, 49%)  Lawn Green
#fa8a02  rgb(250, 138, 2)  hsl(33, 98%, 49%)  Dark Orange
#02fa8a  rgb(2, 250, 138)  hsl(153, 98%, 49%)  Spring Green