#A797BF color
The hex color #A797BF is a light, grayish violet.
In the RGB color model it is made of 65.5% red, 59.2% green and 74.9% blue (167, 151, 191).
Its hue angle is 264°, with 24% saturation and 67% lightness. For print, the CMYK equivalent is 13% cyan, 21% magenta, 0% yellow and 25% black.
The closest named color is Enchanted Lilac (#A893C1), a difference of 2.1 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 7.82:1).
#A797BF color codes
| HEX | #A797BF | |
|---|---|---|
| RGB | rgb(167, 151, 191) | |
| RGB percent | rgb(65.5%, 59.2%, 74.9%) | |
| HSL | hsl(264, 24%, 67%) | |
| HSV / HSB | hsv(264, 21%, 75%) | |
| CMYK | cmyk(13%, 21%, 0%, 25%) | |
| CIE LAB | lab(65.05, 13.76, -18.52) | |
| CIE LCH | lch(65.05, 23.07, 306.62) | |
| CIE XYZ | xyz(36.405, 34.11, 53.946) | |
| Decimal | 10983359 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A797BF, 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 #A797BF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.82:1 | Pass | Pass | Pass |
| Sample text | 2.68:1 | Fail | Fail | Fail |
| #A797BF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.68:1 | Fail | Fail | Fail |
| Sample text | 7.82: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 #A797BF looks to people with the most common types of color vision deficiency.
#909dc1Protanopia
no red cones#929ebeDeuteranopia
no green cones#a39ca5Tritanopia
no blue cones#9e9e9eAchromatopsia
no color vision
CSS examples
.background { background-color: #a797bf; }
.text { color: #a797bf; }
.border { border: 2px solid #a797bf; }
.transparent { background-color: rgb(167 151 191 / 50%); }
.gradient { background: linear-gradient(to right, #a797bf, #bb97bf); }
Similar colors
#a893c1Enchanted Lilac#a090b8Wizard’s Brew#a99fcfImperial Lilac#baa2ceLucius Lilac#bb9ecdTurnip Crown#b090c7Fleur-De-Lis#b090b2Metal Petal#b19cd9Violet Velvet
Closest common color name: Pastel Purple.
Questions
- What color is #A797BF?
- #A797BF is a light, grayish violet, closest to the named color Enchanted Lilac. It belongs to the purple family of colors.
- What is the RGB value of #A797BF?
- The RGB value is 167, 151, 191: 167 red, 151 green and 191 blue on a 0 to 255 scale.
- What is the complementary color of #A797BF?
- The complementary color is #AFBF97, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A797BF?
- Black text. Black text has a contrast ratio of 7.82:1 and white text 2.68:1. WCAG asks for at least 4.5:1 for normal text.