#A542F3

#a542f3 ≈ Electric Purple

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

#a542f3 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 64.71% red, 25.88% green and 95.29% blue; printed in CMYK it uses 32.1% cyan, 72.84% magenta, 0% yellow and 4.71% black. Its hue angle is 273.56°, with 88.06% saturation and 60.59% 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.67:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.66.

Description generated from the measured properties of this color.

Conversions of #a542f3 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.1837

Readable text 4.49:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.67:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #777777 ≈ 0.003% of males
Achromatomaly #8c66b6 ≈ 0.001% of males
Protanopia #0074f8 ≈ 1.01% of males
Deuteranopia #0077ef ≈ 1.27% of males
Tritanopia #976d98 ≈ 0.0001% of males
Protanomaly #5d64f6 ≈ 1.08% of males
Deuteranomaly #6866f1 ≈ 4.63% of males
Tritanomaly #9d5fc3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a542f3 {
  color: #a542f3;
}
Background
.bg-a542f3 {
  background-color: #a542f3;
  color: #000000;
}
Border
.border-a542f3 {
  border: 2px solid #a542f3;
}
CSS variables
:root {
  --color-primary: #a542f3;
  --color-primary-rgb: 165 66 243;
  --color-primary-hsl: 274 88% 61%;
}
Gradient
.gradient-a542f3 {
  background: linear-gradient(135deg, #a542f3, #f342e8);
}
Colored shadow
.shadow-a542f3 {
  box-shadow: 0 8px 24px rgb(165 66 243 / 0.35);
}

Electric Purple
#a542f3  rgb(165, 66, 243)  hsl(274, 88%, 61%)  Electric Purple
#90f342  rgb(144, 243, 66)  hsl(94, 88%, 61%)  Lawn Green
#f3a542  rgb(243, 165, 66)  hsl(34, 88%, 61%)  Yellow Orange
#42f3a5  rgb(66, 243, 165)  hsl(154, 88%, 61%)  Medium Spring Green