#7B42C4

#7b42c4 ≈ Blue Violet

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

#7b42c4 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 48.24% red, 25.88% green and 76.86% blue; printed in CMYK it uses 37.24% cyan, 66.33% magenta, 0% yellow and 23.14% black. Its hue angle is 266.31°, with 52.42% saturation and 51.37% 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.14:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 5.08.

Description generated from the measured properties of this color.

Conversions of #7b42c4 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.1209

Readable text 6.14:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.42:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #626262 ≈ 0.003% of males
Achromatomaly #6d5793 ≈ 0.001% of males
Protanopia #0061c8 ≈ 1.01% of males
Deuteranopia #0061c1 ≈ 1.27% of males
Tritanopia #6b607d ≈ 0.0001% of males
Protanomaly #4756c6 ≈ 1.08% of males
Deuteranomaly #4e56c2 ≈ 4.63% of males
Tritanomaly #72559f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7b42c4 {
  color: #7b42c4;
}
Background
.bg-7b42c4 {
  background-color: #7b42c4;
  color: #ffffff;
}
Border
.border-7b42c4 {
  border: 2px solid #7b42c4;
}
CSS variables
:root {
  --color-primary: #7b42c4;
  --color-primary-rgb: 123 66 196;
  --color-primary-hsl: 266 52% 51%;
}
Gradient
.gradient-7b42c4 {
  background: linear-gradient(135deg, #7b42c4, #bc42c4);
}
Colored shadow
.shadow-7b42c4 {
  box-shadow: 0 8px 24px rgb(123 66 196 / 0.35);
}

Blue Violet
#7b42c4  rgb(123, 66, 196)  hsl(266, 52%, 51%)  Blue Violet
#8bc442  rgb(139, 196, 66)  hsl(86, 52%, 51%)  Yellow Green
#c47b42  rgb(196, 123, 66)  hsl(26, 52%, 51%)  Copper
#42c47b  rgb(66, 196, 123)  hsl(146, 52%, 51%)  Emerald