#7A42CF

#7a42cf ≈ Blue Violet

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

#7a42cf 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 81.18% blue; printed in CMYK it uses 41.06% cyan, 68.12% magenta, 0% yellow and 18.82% black. Its hue angle is 263.83°, with 59.49% saturation and 53.53% 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.99:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 4.29.

Description generated from the measured properties of this color.

Conversions of #7a42cf 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.1254

Readable text 5.99:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.51:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #636363 ≈ 0.003% of males
Achromatomaly #6d589a ≈ 0.001% of males
Protanopia #0064d3 ≈ 1.01% of males
Deuteranopia #0061cc ≈ 1.27% of males
Tritanopia #646483 ≈ 0.0001% of males
Protanomaly #4158d2 ≈ 1.08% of males
Deuteranomaly #4757cd ≈ 4.63% of males
Tritanomaly #6e58a7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7a42cf {
  color: #7a42cf;
}
Background
.bg-7a42cf {
  background-color: #7a42cf;
  color: #ffffff;
}
Border
.border-7a42cf {
  border: 2px solid #7a42cf;
}
CSS variables
:root {
  --color-primary: #7a42cf;
  --color-primary-rgb: 122 66 207;
  --color-primary-hsl: 264 59% 54%;
}
Gradient
.gradient-7a42cf {
  background: linear-gradient(135deg, #7a42cf, #c042cf);
}
Colored shadow
.shadow-7a42cf {
  box-shadow: 0 8px 24px rgb(122 66 207 / 0.35);
}

Blue Violet
#7a42cf  rgb(122, 66, 207)  hsl(264, 59%, 54%)  Blue Violet
#97cf42  rgb(151, 207, 66)  hsl(84, 59%, 54%)  Yellow Green
#cf7a42  rgb(207, 122, 66)  hsl(24, 59%, 54%)  Raw Sienna
#42cf7a  rgb(66, 207, 122)  hsl(144, 59%, 54%)  Emerald