#8A42E9

#8a42e9 ≈ Blue Violet

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#8a42e9 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 54.12% red, 25.88% green and 91.37% blue; printed in CMYK it uses 40.77% cyan, 71.67% magenta, 0% yellow and 8.63% black. Its hue angle is 265.87°, with 79.15% saturation and 58.63% 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 brand accents. White text on this color reaches a contrast ratio of 5.2:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 4.06.

Description generated from the measured properties of this color.

Conversions of #8a42e9 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.1518

Readable text 5.2:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.04:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6d6d6d ≈ 0.003% of males
Achromatomaly #795ead ≈ 0.001% of males
Protanopia #006dee ≈ 1.01% of males
Deuteranopia #006be6 ≈ 1.27% of males
Tritanopia #726c92 ≈ 0.0001% of males
Protanomaly #455fec ≈ 1.08% of males
Deuteranomaly #4d5de7 ≈ 4.63% of males
Tritanomaly #7c5ebb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a42e9 {
  color: #8a42e9;
}
Background
.bg-8a42e9 {
  background-color: #8a42e9;
  color: #ffffff;
}
Border
.border-8a42e9 {
  border: 2px solid #8a42e9;
}
CSS variables
:root {
  --color-primary: #8a42e9;
  --color-primary-rgb: 138 66 233;
  --color-primary-hsl: 266 79% 59%;
}
Gradient
.gradient-8a42e9 {
  background: linear-gradient(135deg, #8a42e9, #de42e9);
}
Colored shadow
.shadow-8a42e9 {
  box-shadow: 0 8px 24px rgb(138 66 233 / 0.35);
}

Blue Violet
#8a42e9  rgb(138, 66, 233)  hsl(266, 79%, 59%)  Blue Violet
#a1e942  rgb(161, 233, 66)  hsl(86, 79%, 59%)  Inchworm
#e98a42  rgb(233, 138, 66)  hsl(26, 79%, 59%)  Cadmium Orange
#42e98a  rgb(66, 233, 138)  hsl(146, 79%, 59%)  Medium Spring Green