#8E21FA

#8e21fa ≈ Electric Violet

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

#8e21fa is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 55.69% red, 12.94% green and 98.04% blue; printed in CMYK it uses 43.2% cyan, 86.8% magenta, 0% yellow and 1.96% black. Its hue angle is 270.14°, with 95.59% saturation and 55.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. White text on this color reaches a contrast ratio of 5.6:1 (WCAG AA). The closest named color is Electric Violet (#8f00ff), ΔE 1.53.

Description generated from the measured properties of this color.

Conversions of #8e21fa 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.1374

Readable text 5.6:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.75:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #686868 ≈ 0.003% of males
Achromatomaly #7954b5 ≈ 0.001% of males
Protanopia #0068ff ≈ 1.01% of males
Deuteranopia #0065f6 ≈ 1.27% of males
Tritanopia #726695 ≈ 0.0001% of males
Protanomaly #2c54fd ≈ 1.08% of males
Deuteranomaly #3c52f8 ≈ 4.63% of males
Tritanomaly #7e53c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8e21fa {
  color: #8e21fa;
}
Background
.bg-8e21fa {
  background-color: #8e21fa;
  color: #ffffff;
}
Border
.border-8e21fa {
  border: 2px solid #8e21fa;
}
CSS variables
:root {
  --color-primary: #8e21fa;
  --color-primary-rgb: 142 33 250;
  --color-primary-hsl: 270 96% 55%;
}
Gradient
.gradient-8e21fa {
  background: linear-gradient(135deg, #8e21fa, #fa21f9);
}
Colored shadow
.shadow-8e21fa {
  box-shadow: 0 8px 24px rgb(142 33 250 / 0.35);
}

Electric Violet
#8e21fa  rgb(142, 33, 250)  hsl(270, 96%, 55%)  Electric Violet
#8dfa21  rgb(141, 250, 33)  hsl(90, 96%, 55%)  Lawn Green
#fa8e21  rgb(250, 142, 33)  hsl(30, 96%, 55%)  Dark Orange
#21fa8e  rgb(33, 250, 142)  hsl(150, 96%, 55%)  Medium Spring Green