#8A42FE

#8a42fe ≈ Vivid Violet

  • violet
  • Lightness: high
  • Saturation: strong
  • Cool

#8a42fe is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 54.12% red, 25.88% green and 99.61% blue; printed in CMYK it uses 45.67% cyan, 74.02% magenta, 0% yellow and 0.39% black. Its hue angle is 262.98°, with 98.95% saturation and 62.75% 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 4.89:1 (WCAG AA). The closest named color is Vivid Violet (#9f00ff), ΔE 5.49.

Description generated from the measured properties of this color.

Conversions of #8a42fe 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.1646

Readable text 4.89:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.29:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #717171 ≈ 0.003% of males
Achromatomaly #7c61bb ≈ 0.001% of males
Protanopia #0073ff ≈ 1.01% of males
Deuteranopia #006efa ≈ 1.27% of males
Tritanopia #68759e ≈ 0.0001% of males
Protanomaly #3663ff ≈ 1.08% of males
Deuteranomaly #3f5ffc ≈ 4.63% of males
Tritanomaly #7764cb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a42fe {
  color: #8a42fe;
}
Background
.bg-8a42fe {
  background-color: #8a42fe;
  color: #ffffff;
}
Border
.border-8a42fe {
  border: 2px solid #8a42fe;
}
CSS variables
:root {
  --color-primary: #8a42fe;
  --color-primary-rgb: 138 66 254;
  --color-primary-hsl: 263 99% 63%;
}
Gradient
.gradient-8a42fe {
  background: linear-gradient(135deg, #8a42fe, #e842fe);
}
Colored shadow
.shadow-8a42fe {
  box-shadow: 0 8px 24px rgb(138 66 254 / 0.35);
}

Vivid Violet
#8a42fe  rgb(138, 66, 254)  hsl(263, 99%, 63%)  Vivid Violet
#b6fe42  rgb(182, 254, 66)  hsl(83, 99%, 63%)  Green Yellow
#fe8a42  rgb(254, 138, 66)  hsl(23, 99%, 63%)  Mango Tango
#42fe8a  rgb(66, 254, 138)  hsl(143, 99%, 63%)  Spring Green