#8A42F8

#8a42f8 ≈ Vivid Violet

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

#8a42f8 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 97.25% blue; printed in CMYK it uses 44.35% cyan, 73.39% magenta, 0% yellow and 2.75% black. Its hue angle is 263.74°, with 92.86% saturation and 61.57% 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.98:1 (WCAG AA). The closest named color is Vivid Violet (#9f00ff), ΔE 5.31.

Description generated from the measured properties of this color.

Conversions of #8a42f8 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.1608

Readable text 4.98:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.22:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #7b61b7 ≈ 0.001% of males
Protanopia #0071fd ≈ 1.01% of males
Deuteranopia #006df4 ≈ 1.27% of males
Tritanopia #6b729a ≈ 0.0001% of males
Protanomaly #3b61fb ≈ 1.08% of males
Deuteranomaly #445ff6 ≈ 4.63% of males
Tritanomaly #7962c7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a42f8 {
  color: #8a42f8;
}
Background
.bg-8a42f8 {
  background-color: #8a42f8;
  color: #ffffff;
}
Border
.border-8a42f8 {
  border: 2px solid #8a42f8;
}
CSS variables
:root {
  --color-primary: #8a42f8;
  --color-primary-rgb: 138 66 248;
  --color-primary-hsl: 264 93% 62%;
}
Gradient
.gradient-8a42f8 {
  background: linear-gradient(135deg, #8a42f8, #e542f8);
}
Colored shadow
.shadow-8a42f8 {
  box-shadow: 0 8px 24px rgb(138 66 248 / 0.35);
}

Vivid Violet
#8a42f8  rgb(138, 66, 248)  hsl(264, 93%, 62%)  Vivid Violet
#b0f842  rgb(176, 248, 66)  hsl(84, 93%, 62%)  Green Yellow
#f88a42  rgb(248, 138, 66)  hsl(24, 93%, 62%)  Mango Tango
#42f88a  rgb(66, 248, 138)  hsl(144, 93%, 62%)  Spring Green