#A795A8 color
The hex color #A795A8 is a light, grayish magenta.
In the RGB color model it is made of 65.5% red, 58.4% green and 65.9% blue (167, 149, 168).
Its hue angle is 297°, with 10% saturation and 62% lightness. For print, the CMYK equivalent is 1% cyan, 11% magenta, 0% yellow and 34% black.
The closest named color is Pastel Purple (#B39EB5), a difference of 3.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 7.51:1).
#A795A8 color codes
| HEX | #A795A8 | |
|---|---|---|
| RGB | rgb(167, 149, 168) | |
| RGB percent | rgb(65.5%, 58.4%, 65.9%) | |
| HSL | hsl(297, 10%, 62%) | |
| HSV / HSB | hsv(297, 11%, 66%) | |
| CMYK | cmyk(1%, 11%, 0%, 34%) | |
| CIE LAB | lab(63.79, 10.17, -7.5) | |
| CIE LCH | lch(63.79, 12.63, 323.6) | |
| CIE XYZ | xyz(33.751, 32.538, 41.541) | |
| Decimal | 10982824 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A795A8, 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 #A795A8 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.51:1 | Pass | Pass | Pass |
| Sample text | 2.8:1 | Fail | Fail | Fail |
| #A795A8 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.8:1 | Fail | Fail | Fail |
| Sample text | 7.51: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 #A795A8 looks to people with the most common types of color vision deficiency.
#9499a9Protanopia
no red cones#979ba7Deuteranopia
no green cones#a8979bTritanopia
no blue cones#9a9a9aAchromatopsia
no color vision
CSS examples
.background { background-color: #a795a8; }
.text { color: #a795a8; }
.border { border: 2px solid #a795a8; }
.transparent { background-color: rgb(167 149 168 / 50%); }
.gradient { background: linear-gradient(to right, #a795a8, #a895a0); }
Similar colors
#b39eb5Pastel Purple#a2919bNirvana#95859cHatoba Pigeon#bb99aaClassy Mauve#948593Femme Fatale#b090b2Metal Petal#af8ba8Voila!#b7a5adFoggy Plum
Questions
- What color is #A795A8?
- #A795A8 is a light, grayish magenta, closest to the named color Pastel Purple. It belongs to the gray family of colors.
- What is the RGB value of #A795A8?
- The RGB value is 167, 149, 168: 167 red, 149 green and 168 blue on a 0 to 255 scale.
- What is the complementary color of #A795A8?
- The complementary color is #96A895, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A795A8?
- Black text. Black text has a contrast ratio of 7.51:1 and white text 2.8:1. WCAG asks for at least 4.5:1 for normal text.