#A798B1 color
The hex color #A798B1 is a light, grayish violet.
In the RGB color model it is made of 65.5% red, 59.6% green and 69.4% blue (167, 152, 177).
Its hue angle is 276°, with 14% saturation and 65% lightness. For print, the CMYK equivalent is 6% cyan, 14% magenta, 0% yellow and 31% black.
The closest named color is Pastel Purple (#B39EB5), a difference of 3.1 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 7.77:1).
#A798B1 color codes
| HEX | #A798B1 | |
|---|---|---|
| RGB | rgb(167, 152, 177) | |
| RGB percent | rgb(65.5%, 59.6%, 69.4%) | |
| HSL | hsl(276, 14%, 65%) | |
| HSV / HSB | hsv(276, 14%, 69%) | |
| CMYK | cmyk(6%, 14%, 0%, 31%) | |
| CIE LAB | lab(64.84, 10.27, -10.98) | |
| CIE LCH | lch(64.84, 15.04, 313.07) | |
| CIE XYZ | xyz(35.099, 33.847, 46.27) | |
| Decimal | 10983601 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A798B1, 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 #A798B1 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.77:1 | Pass | Pass | Pass |
| Sample text | 2.7:1 | Fail | Fail | Fail |
| #A798B1 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.7:1 | Fail | Fail | Fail |
| Sample text | 7.77: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 #A798B1 looks to people with the most common types of color vision deficiency.
#959cb2Protanopia
no red cones#989eb0Deuteranopia
no green cones#a69ba0Tritanopia
no blue cones#9d9d9dAchromatopsia
no color vision
CSS examples
.background { background-color: #a798b1; }
.text { color: #a798b1; }
.border { border: 2px solid #a798b1; }
.transparent { background-color: rgb(167 152 177 / 50%); }
.gradient { background: linear-gradient(to right, #a798b1, #b198ae); }
Similar colors
#b39eb5Pastel Purple#a090b8Wizard’s Brew#b090b2Metal Petal#bb99bbDripping Wisteria#95859cHatoba Pigeon#a2919bNirvana#a893c1Enchanted Lilac#c1acc3Monet Magic
Questions
- What color is #A798B1?
- #A798B1 is a light, grayish violet, closest to the named color Pastel Purple. It belongs to the purple family of colors.
- What is the RGB value of #A798B1?
- The RGB value is 167, 152, 177: 167 red, 152 green and 177 blue on a 0 to 255 scale.
- What is the complementary color of #A798B1?
- The complementary color is #A2B198, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A798B1?
- Black text. Black text has a contrast ratio of 7.77:1 and white text 2.7:1. WCAG asks for at least 4.5:1 for normal text.