#A040FF color

#A040FF rgb(160, 64, 255)
Shades of purple

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
RGBrgb(160, 64, 255)
RGB percentrgb(62.7%, 25.1%, 100%)
HSLhsl(270, 100%, 63%)
HSV / HSBhsv(270, 75%, 100%)
CMYKcmyk(37%, 75%, 0%, 0%)
CIE LABlab(49.93, 72.06, -78.32)
CIE LCHlch(49.93, 106.43, 312.62)
CIE XYZxyz(34.376, 18.36, 96.321)
Decimal10502399
Short hexNone (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 #A040FFRatioAAAAAAA large
Sample text4.67:1PassFailPass
Sample text4.49:1FailFailPass
#A040FF as text onRatioAAAAAAA large
Sample text4.49:1FailFailPass
Sample text4.67:1PassFailPass

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.

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); }
Background
Text color
Border

Similar colors

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.