#8F42E2

#8f42e2 ≈ Blue Violet

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

#8f42e2 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 56.08% red, 25.88% green and 88.63% blue; printed in CMYK it uses 36.73% cyan, 70.8% magenta, 0% yellow and 11.37% black. Its hue angle is 268.88°, with 73.39% saturation and 57.25% 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.19:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 4.02.

Description generated from the measured properties of this color.

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

Readable text 5.19:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.05:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6d6d6d ≈ 0.003% of males
Achromatomaly #7c5ea9 ≈ 0.001% of males
Protanopia #006ce7 ≈ 1.01% of males
Deuteranopia #006cdf ≈ 1.27% of males
Tritanopia #7d698e ≈ 0.0001% of males
Protanomaly #4e5ee5 ≈ 1.08% of males
Deuteranomaly #575ee0 ≈ 4.63% of males
Tritanomaly #855cb6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8f42e2 {
  color: #8f42e2;
}
Background
.bg-8f42e2 {
  background-color: #8f42e2;
  color: #ffffff;
}
Border
.border-8f42e2 {
  border: 2px solid #8f42e2;
}
CSS variables
:root {
  --color-primary: #8f42e2;
  --color-primary-rgb: 143 66 226;
  --color-primary-hsl: 269 73% 57%;
}
Gradient
.gradient-8f42e2 {
  background: linear-gradient(135deg, #8f42e2, #df42e2);
}
Colored shadow
.shadow-8f42e2 {
  box-shadow: 0 8px 24px rgb(143 66 226 / 0.35);
}

Blue Violet
#8f42e2  rgb(143, 66, 226)  hsl(269, 73%, 57%)  Blue Violet
#95e242  rgb(149, 226, 66)  hsl(89, 73%, 57%)  Inchworm
#e28f42  rgb(226, 143, 66)  hsl(29, 73%, 57%)  Cadmium Orange
#42e28f  rgb(66, 226, 143)  hsl(149, 73%, 57%)  Medium Spring Green