#8A1EB2

#8a1eb2 ≈ Dark Violet

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Cool

#8a1eb2 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 54.12% red, 11.76% green and 69.8% blue; printed in CMYK it uses 22.47% cyan, 83.15% magenta, 0% yellow and 30.2% black. Its hue angle is 283.78°, with 71.15% saturation and 40.78% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 7.22:1 (WCAG AAA). The closest named color is Dark Violet (#9400d3), ΔE 4.54.

Description generated from the measured properties of this color.

Conversions of #8a1eb2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#993399
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0955

Readable text 7.22:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.91:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #575757 ≈ 0.003% of males
Achromatomaly #6f4785 ≈ 0.001% of males
Protanopia #0052b6 ≈ 1.01% of males
Deuteranopia #0a59af ≈ 1.27% of males
Tritanopia #86446a ≈ 0.0001% of males
Protanomaly #4f42b4 ≈ 1.08% of males
Deuteranomaly #5b49b0 ≈ 4.63% of males
Tritanomaly #88388d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a1eb2 {
  color: #8a1eb2;
}
Background
.bg-8a1eb2 {
  background-color: #8a1eb2;
  color: #ffffff;
}
Border
.border-8a1eb2 {
  border: 2px solid #8a1eb2;
}
CSS variables
:root {
  --color-primary: #8a1eb2;
  --color-primary-rgb: 138 30 178;
  --color-primary-hsl: 284 71% 41%;
}
Gradient
.gradient-8a1eb2 {
  background: linear-gradient(135deg, #8a1eb2, #b21e90);
}
Colored shadow
.shadow-8a1eb2 {
  box-shadow: 0 8px 24px rgb(138 30 178 / 0.35);
}

Dark Violet
#8a1eb2  rgb(138, 30, 178)  hsl(284, 71%, 41%)  Dark Violet
#46b21e  rgb(70, 178, 30)  hsl(104, 71%, 41%)  Kelly Green
#b28a1e  rgb(178, 138, 30)  hsl(44, 71%, 41%)  Dark Goldenrod
#1eb28a  rgb(30, 178, 138)  hsl(164, 71%, 41%)  Mint