#A040FF color
The hex color #A040FF is a light, vivid violet.
In the RGB color model it is made of 62.7% red, 25.1% green and 100% blue (160, 64, 255).
Its hue angle is 270°, with 100% saturation and 63% lightness. For print, the CMYK equivalent is 37% cyan, 75% magenta, 0% yellow and 0% black.
The closest named color is Sweet Desire (#AA33EE), a difference of 3.4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 4.67:1).
#A040FF color codes
| HEX | #A040FF | |
|---|---|---|
| RGB | rgb(160, 64, 255) | |
| RGB percent | rgb(62.7%, 25.1%, 100%) | |
| HSL | hsl(270, 100%, 63%) | |
| HSV / HSB | hsv(270, 75%, 100%) | |
| CMYK | cmyk(37%, 75%, 0%, 0%) | |
| CIE LAB | lab(49.93, 72.06, -78.32) | |
| CIE LCH | lch(49.93, 106.43, 312.62) | |
| CIE XYZ | xyz(34.376, 18.36, 96.321) | |
| Decimal | 10502399 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A040FF, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #A040FF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.67:1 | Pass | Fail | Pass |
| Sample text | 4.49:1 | Fail | Fail | Pass |
| #A040FF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.49:1 | Fail | Fail | Pass |
| Sample text | 4.67:1 | Pass | Fail | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #A040FF looks to people with the most common types of color vision deficiency.
#0076ffProtanopia
no red cones#0076fbDeuteranopia
no green cones#8b729eTritanopia
no blue cones#777777Achromatopsia
no color vision
CSS examples
.background { background-color: #a040ff; }
.text { color: #a040ff; }
.border { border: 2px solid #a040ff; }
.transparent { background-color: rgb(160 64 255 / 50%); }
.gradient { background: linear-gradient(to right, #a040ff, #ff40ff); }
Similar colors
#aa33eeSweet Desire#b300ffPoison Purple Paradise#bc13feNeon Purple#bb00ffThe Grape War of 97’#bb02feSpectacular Purple#aa44ddMagenta Affair#a55af4Orion Nebula#bf3cffMagento
Questions
- What color is #A040FF?
- #A040FF is a light, vivid violet, closest to the named color Sweet Desire. It belongs to the purple family of colors.
- What is the RGB value of #A040FF?
- The RGB value is 160, 64, 255: 160 red, 64 green and 255 blue on a 0 to 255 scale.
- What is the complementary color of #A040FF?
- The complementary color is #9FFF40, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A040FF?
- Black text. Black text has a contrast ratio of 4.67:1 and white text 4.49:1. WCAG asks for at least 4.5:1 for normal text.