#A28EB7 color
The hex color #A28EB7 is a light, grayish violet.
In the RGB color model it is made of 63.5% red, 55.7% green and 71.8% blue (162, 142, 183).
Its hue angle is 269°, with 22% saturation and 64% lightness. For print, the CMYK equivalent is 11% cyan, 22% magenta, 0% yellow and 28% black.
The closest named color is Wizard’s Brew (#A090B8), a difference of 1.2 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 7.09:1).
#A28EB7 color codes
| HEX | #A28EB7 | |
|---|---|---|
| RGB | rgb(162, 142, 183) | |
| RGB percent | rgb(63.5%, 55.7%, 71.8%) | |
| HSL | hsl(269, 22%, 64%) | |
| HSV / HSB | hsv(269, 22%, 72%) | |
| CMYK | cmyk(11%, 22%, 0%, 28%) | |
| CIE LAB | lab(62.04, 15.47, -18.64) | |
| CIE LCH | lch(62.04, 24.22, 309.7) | |
| CIE XYZ | xyz(33.119, 30.446, 48.923) | |
| Decimal | 10653367 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A28EB7, 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 #A28EB7 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.09:1 | Pass | Pass | Pass |
| Sample text | 2.96:1 | Fail | Fail | Fail |
| #A28EB7 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.96:1 | Fail | Fail | Fail |
| Sample text | 7.09:1 | Pass | Pass | 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 #A28EB7 looks to people with the most common types of color vision deficiency.
#8795b9Protanopia
no red cones#8b96b6Deuteranopia
no green cones#9f939cTritanopia
no blue cones#969696Achromatopsia
no color vision
CSS examples
.background { background-color: #a28eb7; }
.text { color: #a28eb7; }
.border { border: 2px solid #a28eb7; }
.transparent { background-color: rgb(162 142 183 / 50%); }
.gradient { background: linear-gradient(to right, #a28eb7, #b68eb7); }
Similar colors
#a090b8Wizard’s Brew#a893c1Enchanted Lilac#b090c7Fleur-De-Lis#b090b2Metal Petal#9c87c1Petrified Purple#9488beMagic Carpet#a97fb1Heart Potion#a99fcfImperial Lilac
Closest common color name: Lavender Purple.
Questions
- What color is #A28EB7?
- #A28EB7 is a light, grayish violet, closest to the named color Wizard’s Brew. It belongs to the purple family of colors.
- What is the RGB value of #A28EB7?
- The RGB value is 162, 142, 183: 162 red, 142 green and 183 blue on a 0 to 255 scale.
- What is the complementary color of #A28EB7?
- The complementary color is #A3B78E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A28EB7?
- Black text. Black text has a contrast ratio of 7.09:1 and white text 2.96:1. WCAG asks for at least 4.5:1 for normal text.