#8A42D4

#8a42d4 ≈ Blue Violet

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

#8a42d4 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 83.14% blue; printed in CMYK it uses 34.91% cyan, 68.87% magenta, 0% yellow and 16.86% black. Its hue angle is 269.59°, with 62.93% saturation and 54.51% 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.51:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 3.77.

Description generated from the measured properties of this color.

Conversions of #8a42d4 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.1405

Readable text 5.51:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.81:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #696969 ≈ 0.003% of males
Achromatomaly #775c9f ≈ 0.001% of males
Protanopia #0068d8 ≈ 1.01% of males
Deuteranopia #0068d1 ≈ 1.27% of males
Tritanopia #7b6486 ≈ 0.0001% of males
Protanomaly #4f5bd7 ≈ 1.08% of males
Deuteranomaly #575bd2 ≈ 4.63% of males
Tritanomaly #8158ab ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a42d4 {
  color: #8a42d4;
}
Background
.bg-8a42d4 {
  background-color: #8a42d4;
  color: #ffffff;
}
Border
.border-8a42d4 {
  border: 2px solid #8a42d4;
}
CSS variables
:root {
  --color-primary: #8a42d4;
  --color-primary-rgb: 138 66 212;
  --color-primary-hsl: 270 63% 55%;
}
Gradient
.gradient-8a42d4 {
  background: linear-gradient(135deg, #8a42d4, #d342d4);
}
Colored shadow
.shadow-8a42d4 {
  box-shadow: 0 8px 24px rgb(138 66 212 / 0.35);
}

Blue Violet
#8a42d4  rgb(138, 66, 212)  hsl(270, 63%, 55%)  Blue Violet
#8cd442  rgb(140, 212, 66)  hsl(90, 63%, 55%)  Yellow Green
#d48a42  rgb(212, 138, 66)  hsl(30, 63%, 55%)  Peru
#42d48a  rgb(66, 212, 138)  hsl(150, 63%, 55%)  Emerald