#A798AB color
The hex color #A798AB is a light, grayish magenta.
In the RGB color model it is made of 65.5% red, 59.6% green and 67.1% blue (167, 152, 171).
Its hue angle is 287°, with 10% saturation and 63% lightness. For print, the CMYK equivalent is 2% cyan, 11% magenta, 0% yellow and 33% black.
The closest named color is Pastel Purple (#B39EB5), a difference of 3.4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 7.72:1).
#A798AB color codes
| HEX | #A798AB | |
|---|---|---|
| RGB | rgb(167, 152, 171) | |
| RGB percent | rgb(65.5%, 59.6%, 67.1%) | |
| HSL | hsl(287, 10%, 63%) | |
| HSV / HSB | hsv(287, 11%, 67%) | |
| CMYK | cmyk(2%, 11%, 0%, 33%) | |
| CIE LAB | lab(64.65, 9.07, -7.89) | |
| CIE LCH | lch(64.65, 12.02, 318.97) | |
| CIE XYZ | xyz(34.514, 33.613, 43.19) | |
| Decimal | 10983595 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A798AB, 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 #A798AB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.72:1 | Pass | Pass | Pass |
| Sample text | 2.72:1 | Fail | Fail | Fail |
| #A798AB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.72:1 | Fail | Fail | Fail |
| Sample text | 7.72: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 #A798AB looks to people with the most common types of color vision deficiency.
#969cacProtanopia
no red cones#999daaDeuteranopia
no green cones#a79a9eTritanopia
no blue cones#9d9d9dAchromatopsia
no color vision
CSS examples
.background { background-color: #a798ab; }
.text { color: #a798ab; }
.border { border: 2px solid #a798ab; }
.transparent { background-color: rgb(167 152 171 / 50%); }
.gradient { background: linear-gradient(to right, #a798ab, #ab98a5); }
Similar colors
#b39eb5Pastel Purple#a2919bNirvana#b7a5adFoggy Plum#95859cHatoba Pigeon#9998a7Lavender Ash#bb99aaClassy Mauve#9999aaMachinery#948593Femme Fatale
Questions
- What color is #A798AB?
- #A798AB 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 #A798AB?
- The RGB value is 167, 152, 171: 167 red, 152 green and 171 blue on a 0 to 255 scale.
- What is the complementary color of #A798AB?
- The complementary color is #9CAB98, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A798AB?
- Black text. Black text has a contrast ratio of 7.72:1 and white text 2.72:1. WCAG asks for at least 4.5:1 for normal text.