#8A21FC

#8a21fc ≈ Electric Violet

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

#8a21fc is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 54.12% red, 12.94% green and 98.82% blue; printed in CMYK it uses 45.24% cyan, 86.9% magenta, 0% yellow and 1.18% black. Its hue angle is 268.77°, with 97.33% saturation and 55.88% 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.67:1 (WCAG AA). The closest named color is Electric Violet (#8f00ff), ΔE 1.48.

Description generated from the measured properties of this color.

Conversions of #8a21fc 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.1352

Readable text 5.67:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.7:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #676767 ≈ 0.003% of males
Achromatomaly #7653b6 ≈ 0.001% of males
Protanopia #0068ff ≈ 1.01% of males
Deuteranopia #0064f8 ≈ 1.27% of males
Tritanopia #6a6897 ≈ 0.0001% of males
Protanomaly #2154ff ≈ 1.08% of males
Deuteranomaly #3251fa ≈ 4.63% of males
Tritanomaly #7854c7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a21fc {
  color: #8a21fc;
}
Background
.bg-8a21fc {
  background-color: #8a21fc;
  color: #ffffff;
}
Border
.border-8a21fc {
  border: 2px solid #8a21fc;
}
CSS variables
:root {
  --color-primary: #8a21fc;
  --color-primary-rgb: 138 33 252;
  --color-primary-hsl: 269 97% 56%;
}
Gradient
.gradient-8a21fc {
  background: linear-gradient(135deg, #8a21fc, #f821fc);
}
Colored shadow
.shadow-8a21fc {
  box-shadow: 0 8px 24px rgb(138 33 252 / 0.35);
}

Electric Violet
#8a21fc  rgb(138, 33, 252)  hsl(269, 97%, 56%)  Electric Violet
#93fc21  rgb(147, 252, 33)  hsl(89, 97%, 56%)  Chartreuse
#fc8a21  rgb(252, 138, 33)  hsl(29, 97%, 56%)  Dark Orange
#21fc8a  rgb(33, 252, 138)  hsl(149, 97%, 56%)  Spring Green