#8A2CFB

#8a2cfb ≈ Electric Violet

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

#8a2cfb is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 54.12% red, 17.25% green and 98.43% blue; printed in CMYK it uses 45.02% cyan, 82.47% magenta, 0% yellow and 1.57% black. Its hue angle is 267.25°, with 96.28% saturation and 57.84% 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.48:1 (WCAG AA). The closest named color is Electric Violet (#8f00ff), ΔE 2.53.

Description generated from the measured properties of this color.

Conversions of #8a2cfb 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.1417

Readable text 5.48:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.83:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #696969 ≈ 0.003% of males
Achromatomaly #7857b7 ≈ 0.001% of males
Protanopia #006aff ≈ 1.01% of males
Deuteranopia #0066f7 ≈ 1.27% of males
Tritanopia #6a6b98 ≈ 0.0001% of males
Protanomaly #2958fe ≈ 1.08% of males
Deuteranomaly #3755f9 ≈ 4.63% of males
Tritanomaly #7858c7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a2cfb {
  color: #8a2cfb;
}
Background
.bg-8a2cfb {
  background-color: #8a2cfb;
  color: #ffffff;
}
Border
.border-8a2cfb {
  border: 2px solid #8a2cfb;
}
CSS variables
:root {
  --color-primary: #8a2cfb;
  --color-primary-rgb: 138 44 251;
  --color-primary-hsl: 267 96% 58%;
}
Gradient
.gradient-8a2cfb {
  background: linear-gradient(135deg, #8a2cfb, #f22cfb);
}
Colored shadow
.shadow-8a2cfb {
  box-shadow: 0 8px 24px rgb(138 44 251 / 0.35);
}

Electric Violet
#8a2cfb  rgb(138, 44, 251)  hsl(267, 96%, 58%)  Electric Violet
#9dfb2c  rgb(157, 251, 44)  hsl(87, 96%, 58%)  Green Yellow
#fb8a2c  rgb(251, 138, 44)  hsl(27, 96%, 58%)  Cadmium Orange
#2cfb8a  rgb(44, 251, 138)  hsl(147, 96%, 58%)  Spring Green