#8A1EF8

#8a1ef8 ≈ Electric Violet

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

#8a1ef8 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 54.12% red, 11.76% green and 97.25% blue; printed in CMYK it uses 44.35% cyan, 87.9% magenta, 0% yellow and 2.75% black. Its hue angle is 269.72°, with 93.97% saturation and 54.51% 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.8:1 (WCAG AA). The closest named color is Electric Violet (#8f00ff), ΔE 1.27.

Description generated from the measured properties of this color.

Conversions of #8a1ef8 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.1311

Readable text 5.8:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.62:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #656565 ≈ 0.003% of males
Achromatomaly #7652b4 ≈ 0.001% of males
Protanopia #0066fd ≈ 1.01% of males
Deuteranopia #0063f4 ≈ 1.27% of males
Tritanopia #6c6594 ≈ 0.0001% of males
Protanomaly #2452fb ≈ 1.08% of males
Deuteranomaly #3550f6 ≈ 4.63% of males
Tritanomaly #7952c4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a1ef8 {
  color: #8a1ef8;
}
Background
.bg-8a1ef8 {
  background-color: #8a1ef8;
  color: #ffffff;
}
Border
.border-8a1ef8 {
  border: 2px solid #8a1ef8;
}
CSS variables
:root {
  --color-primary: #8a1ef8;
  --color-primary-rgb: 138 30 248;
  --color-primary-hsl: 270 94% 55%;
}
Gradient
.gradient-8a1ef8 {
  background: linear-gradient(135deg, #8a1ef8, #f71ef8);
}
Colored shadow
.shadow-8a1ef8 {
  box-shadow: 0 8px 24px rgb(138 30 248 / 0.35);
}

Electric Violet
#8a1ef8  rgb(138, 30, 248)  hsl(270, 94%, 55%)  Electric Violet
#8cf81e  rgb(140, 248, 30)  hsl(90, 94%, 55%)  Lawn Green
#f88a1e  rgb(248, 138, 30)  hsl(30, 94%, 55%)  Dark Orange
#1ef88a  rgb(30, 248, 138)  hsl(150, 94%, 55%)  Medium Spring Green