#A540DE - Magenta Affair
Hex color #A540DE is called Magenta Affair. It consists of 65% red, 25% green, and 87% blue in RGB color space. In CMYK it is 26% cyan, 71% magenta, 0% yellow, and 13% black. In HSL it is 278° hue, 71% saturation, and 56% lightness (light) . On this page you can get both color properties and CSS values for such color schemas: HEX, HEXA, RGB, RGBA, HSL, and CMYK; color name, CSS color name, tailwind name for color; shades and tints; monochromatic colors; negative color; and other info.
| Property | Value | CSS |
|---|---|---|
| Name | Magenta Affair | — |
| HEX | #A540DE | #A540DE |
| HEXA | #A540DEFF | #A540DEFF |
| RGB | 165, 64, 222 | rgb(165, 64, 222) |
| RGBA | 165, 64, 222, 1 | rgba(165, 64, 222, 1) |
| HSL | 278%, 71%, 56% | hsl(278%, 71%, 56%) |
| CMYK | 26%, 71%, 0%, 13% | cmyk(26%, 71%, 0%, 13%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 56% (light) | — |
Negative color
The color opposite to #A540DE is #5ABF21.
Preview on black and white
As #A540DE has 56% lightness, this color is dark, so it has more contrast with white.
#A540DE On White Background
#A540DE
#A540DE
Text Color
This is how text looks with this color.
#A540DE On Black Background
#A540DE
#A540DE
Text Color
This is how text looks with this color.
Transform color
165, 64, 222rgb(165, 64, 222)