#A642EF

#a642ef ≈ Electric Purple

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

#a642ef is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 65.1% red, 25.88% green and 93.73% blue; printed in CMYK it uses 30.54% cyan, 72.38% magenta, 0% yellow and 6.27% black. Its hue angle is 274.68°, with 84.39% saturation and 59.8% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 4.65:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.61.

Description generated from the measured properties of this color.

Conversions of #a642ef into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#9933ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1824

Readable text 4.52:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.65:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #767676 ≈ 0.003% of males
Achromatomaly #8c65b4 ≈ 0.001% of males
Protanopia #0073f4 ≈ 1.01% of males
Deuteranopia #0077eb ≈ 1.27% of males
Tritanopia #996b95 ≈ 0.0001% of males
Protanomaly #5f63f2 ≈ 1.08% of males
Deuteranomaly #6b66ed ≈ 4.63% of males
Tritanomaly #9f5ec0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a642ef {
  color: #a642ef;
}
Background
.bg-a642ef {
  background-color: #a642ef;
  color: #000000;
}
Border
.border-a642ef {
  border: 2px solid #a642ef;
}
CSS variables
:root {
  --color-primary: #a642ef;
  --color-primary-rgb: 166 66 239;
  --color-primary-hsl: 275 84% 60%;
}
Gradient
.gradient-a642ef {
  background: linear-gradient(135deg, #a642ef, #ef42e2);
}
Colored shadow
.shadow-a642ef {
  box-shadow: 0 8px 24px rgb(166 66 239 / 0.35);
}

Electric Purple
#a642ef  rgb(166, 66, 239)  hsl(275, 84%, 60%)  Electric Purple
#8bef42  rgb(139, 239, 66)  hsl(95, 84%, 60%)  Lawn Green
#efa642  rgb(239, 166, 66)  hsl(35, 84%, 60%)  Yellow Orange
#42efa6  rgb(66, 239, 166)  hsl(155, 84%, 60%)  Medium Spring Green