#8042DF

#8042df ≈ Blue Violet

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

#8042df is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 50.2% red, 25.88% green and 87.45% blue; printed in CMYK it uses 42.6% cyan, 70.4% magenta, 0% yellow and 12.55% black. Its hue angle is 263.69°, with 71.04% saturation and 56.67% 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.58:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 3.6.

Description generated from the measured properties of this color.

Conversions of #8042df 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.1381

Readable text 5.58:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.76:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #686868 ≈ 0.003% of males
Achromatomaly #725ba5 ≈ 0.001% of males
Protanopia #0069e4 ≈ 1.01% of males
Deuteranopia #0066dc ≈ 1.27% of males
Tritanopia #676a8c ≈ 0.0001% of males
Protanomaly #3f5ce2 ≈ 1.08% of males
Deuteranomaly #4659dd ≈ 4.63% of males
Tritanomaly #725cb3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8042df {
  color: #8042df;
}
Background
.bg-8042df {
  background-color: #8042df;
  color: #ffffff;
}
Border
.border-8042df {
  border: 2px solid #8042df;
}
CSS variables
:root {
  --color-primary: #8042df;
  --color-primary-rgb: 128 66 223;
  --color-primary-hsl: 264 71% 57%;
}
Gradient
.gradient-8042df {
  background: linear-gradient(135deg, #8042df, #ce42df);
}
Colored shadow
.shadow-8042df {
  box-shadow: 0 8px 24px rgb(128 66 223 / 0.35);
}

Blue Violet
#8042df  rgb(128, 66, 223)  hsl(264, 71%, 57%)  Blue Violet
#a1df42  rgb(161, 223, 66)  hsl(84, 71%, 57%)  Inchworm
#df8042  rgb(223, 128, 66)  hsl(24, 71%, 57%)  Raw Sienna
#42df80  rgb(66, 223, 128)  hsl(144, 71%, 57%)  Pastel Green