#7A42C8

#7a42c8 ≈ Blue Violet

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

#7a42c8 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 47.84% red, 25.88% green and 78.43% blue; printed in CMYK it uses 39% cyan, 67% magenta, 0% yellow and 21.57% black. Its hue angle is 265.07°, with 54.92% saturation and 52.16% 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 6.1:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 4.78.

Description generated from the measured properties of this color.

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

Readable text 6.1:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.44:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #626262 ≈ 0.003% of males
Achromatomaly #6c5796 ≈ 0.001% of males
Protanopia #0062cc ≈ 1.01% of males
Deuteranopia #0061c5 ≈ 1.27% of males
Tritanopia #676180 ≈ 0.0001% of males
Protanomaly #4557ca ≈ 1.08% of males
Deuteranomaly #4b56c6 ≈ 4.63% of males
Tritanomaly #6f57a2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7a42c8 {
  color: #7a42c8;
}
Background
.bg-7a42c8 {
  background-color: #7a42c8;
  color: #ffffff;
}
Border
.border-7a42c8 {
  border: 2px solid #7a42c8;
}
CSS variables
:root {
  --color-primary: #7a42c8;
  --color-primary-rgb: 122 66 200;
  --color-primary-hsl: 265 55% 52%;
}
Gradient
.gradient-7a42c8 {
  background: linear-gradient(135deg, #7a42c8, #bd42c8);
}
Colored shadow
.shadow-7a42c8 {
  box-shadow: 0 8px 24px rgb(122 66 200 / 0.35);
}

Blue Violet
#7a42c8  rgb(122, 66, 200)  hsl(265, 55%, 52%)  Blue Violet
#90c842  rgb(144, 200, 66)  hsl(85, 55%, 52%)  Yellow Green
#c87a42  rgb(200, 122, 66)  hsl(25, 55%, 52%)  Bronze
#42c87a  rgb(66, 200, 122)  hsl(145, 55%, 52%)  Emerald