#8A1DF2

#8a1df2 ≈ Electric Violet

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

#8a1df2 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.37% green and 94.9% blue; printed in CMYK it uses 42.98% cyan, 88.02% magenta, 0% yellow and 5.1% black. Its hue angle is 270.7°, with 89.12% saturation and 53.14% 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.93:1 (WCAG AA). The closest named color is Electric Violet (#8f00ff), ΔE 1.6.

Description generated from the measured properties of this color.

Conversions of #8a1df2 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.1269

Readable text 5.93:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.54:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #646464 ≈ 0.003% of males
Achromatomaly #7550af ≈ 0.001% of males
Protanopia #0064f7 ≈ 1.01% of males
Deuteranopia #0062ee ≈ 1.27% of males
Tritanopia #6f6290 ≈ 0.0001% of males
Protanomaly #2a50f5 ≈ 1.08% of males
Deuteranomaly #3a4ff0 ≈ 4.63% of males
Tritanomaly #7b4fbf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a1df2 {
  color: #8a1df2;
}
Background
.bg-8a1df2 {
  background-color: #8a1df2;
  color: #ffffff;
}
Border
.border-8a1df2 {
  border: 2px solid #8a1df2;
}
CSS variables
:root {
  --color-primary: #8a1df2;
  --color-primary-rgb: 138 29 242;
  --color-primary-hsl: 271 89% 53%;
}
Gradient
.gradient-8a1df2 {
  background: linear-gradient(135deg, #8a1df2, #f21df0);
}
Colored shadow
.shadow-8a1df2 {
  box-shadow: 0 8px 24px rgb(138 29 242 / 0.35);
}

Electric Violet
#8a1df2  rgb(138, 29, 242)  hsl(271, 89%, 53%)  Electric Violet
#85f21d  rgb(133, 242, 29)  hsl(91, 89%, 53%)  Lawn Green
#f28a1d  rgb(242, 138, 29)  hsl(31, 89%, 53%)  Tangerine
#1df28a  rgb(29, 242, 138)  hsl(151, 89%, 53%)  Medium Spring Green