#A798BD color
The hex color #A798BD is a light, grayish violet.
In the RGB color model it is made of 65.5% red, 59.6% green and 74.1% blue (167, 152, 189).
Its hue angle is 264°, with 22% saturation and 67% lightness. For print, the CMYK equivalent is 12% cyan, 20% magenta, 0% yellow and 26% black.
The closest named color is Wizard’s Brew (#A090B8), a difference of 2.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 7.87:1).
#A798BD color codes
| HEX | #A798BD | |
|---|---|---|
| RGB | rgb(167, 152, 189) | |
| RGB percent | rgb(65.5%, 59.6%, 74.1%) | |
| HSL | hsl(264, 22%, 67%) | |
| HSV / HSB | hsv(264, 20%, 74%) | |
| CMYK | cmyk(12%, 20%, 0%, 26%) | |
| CIE LAB | lab(65.24, 12.77, -17.11) | |
| CIE LCH | lch(65.24, 21.35, 306.73) | |
| CIE XYZ | xyz(36.348, 34.346, 52.849) | |
| Decimal | 10983613 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A798BD, 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 #A798BD | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.87:1 | Pass | Pass | Pass |
| Sample text | 2.67:1 | Fail | Fail | Fail |
| #A798BD as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.67:1 | Fail | Fail | Fail |
| Sample text | 7.87: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 #A798BD looks to people with the most common types of color vision deficiency.
#919ebfProtanopia
no red cones#949ebcDeuteranopia
no green cones#a49da4Tritanopia
no blue cones#9e9e9eAchromatopsia
no color vision
CSS examples
.background { background-color: #a798bd; }
.text { color: #a798bd; }
.border { border: 2px solid #a798bd; }
.transparent { background-color: rgb(167 152 189 / 50%); }
.gradient { background: linear-gradient(to right, #a798bd, #ba98bd); }
Similar colors
#a090b8Wizard’s Brew#a893c1Enchanted Lilac#a99fcfImperial Lilac#baa2ceLucius Lilac#bb9ecdTurnip Crown#b090b2Metal Petal#b39eb5Pastel Purple#b090c7Fleur-De-Lis
Questions
- What color is #A798BD?
- #A798BD 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 #A798BD?
- The RGB value is 167, 152, 189: 167 red, 152 green and 189 blue on a 0 to 255 scale.
- What is the complementary color of #A798BD?
- The complementary color is #AEBD98, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A798BD?
- Black text. Black text has a contrast ratio of 7.87:1 and white text 2.67:1. WCAG asks for at least 4.5:1 for normal text.