#8A04C8

#8a04c8 ≈ Dark Violet

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Cool

#8a04c8 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 54.12% red, 1.57% green and 78.43% blue; printed in CMYK it uses 31% cyan, 98% magenta, 0% yellow and 21.57% black. Its hue angle is 281.02°, with 96.08% saturation and 40% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 7.16:1 (WCAG AAA). The closest named color is Dark Violet (#9400d3), ΔE 2.19.

Description generated from the measured properties of this color.

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

Readable text 7.16:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.93:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #6f4492 ≈ 0.001% of males
Protanopia #0053cc ≈ 1.01% of males
Deuteranopia #0059c5 ≈ 1.27% of males
Tritanopia #804975 ≈ 0.0001% of males
Protanomaly #4241cb ≈ 1.08% of males
Deuteranomaly #5045c6 ≈ 4.63% of males
Tritanomaly #84399d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a04c8 {
  color: #8a04c8;
}
Background
.bg-8a04c8 {
  background-color: #8a04c8;
  color: #ffffff;
}
Border
.border-8a04c8 {
  border: 2px solid #8a04c8;
}
CSS variables
:root {
  --color-primary: #8a04c8;
  --color-primary-rgb: 138 4 200;
  --color-primary-hsl: 281 96% 40%;
}
Gradient
.gradient-8a04c8 {
  background: linear-gradient(135deg, #8a04c8, #c804a4);
}
Colored shadow
.shadow-8a04c8 {
  box-shadow: 0 8px 24px rgb(138 4 200 / 0.35);
}

Dark Violet
#8a04c8  rgb(138, 4, 200)  hsl(281, 96%, 40%)  Dark Violet
#42c804  rgb(66, 200, 4)  hsl(101, 96%, 40%)  Lime Green
#c88a04  rgb(200, 138, 4)  hsl(41, 96%, 40%)  Dark Goldenrod
#04c88a  rgb(4, 200, 138)  hsl(161, 96%, 40%)  Caribbean Green