#AFA7B9 color
The hex color #AFA7B9 is a light, grayish violet.
In the RGB color model it is made of 68.6% red, 65.5% green and 72.5% blue (175, 167, 185).
Its hue angle is 267°, with 11% saturation and 69% lightness. For print, the CMYK equivalent is 5% cyan, 10% magenta, 0% yellow and 27% black.
The closest named color is Nebulous December (#B3B2BF), a difference of 4.8 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 9.05:1).
#AFA7B9 color codes
| HEX | #AFA7B9 | |
|---|---|---|
| RGB | rgb(175, 167, 185) | |
| RGB percent | rgb(68.6%, 65.5%, 72.5%) | |
| HSL | hsl(267, 11%, 69%) | |
| HSV / HSB | hsv(267, 10%, 73%) | |
| CMYK | cmyk(5%, 10%, 0%, 27%) | |
| CIE LAB | lab(69.65, 6.3, -8.19) | |
| CIE LCH | lch(69.65, 10.34, 307.56) | |
| CIE XYZ | xyz(40.253, 40.254, 51.539) | |
| Decimal | 11511737 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFA7B9, 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 #AFA7B9 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.05:1 | Pass | Pass | Pass |
| Sample text | 2.32:1 | Fail | Fail | Fail |
| #AFA7B9 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.32:1 | Fail | Fail | Fail |
| Sample text | 9.05: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 #AFA7B9 looks to people with the most common types of color vision deficiency.
#a4aabaProtanopia
no red cones#a6aab8Deuteranopia
no green cones#aea9adTritanopia
no blue cones#aaaaaaAchromatopsia
no color vision
CSS examples
.background { background-color: #afa7b9; }
.text { color: #afa7b9; }
.border { border: 2px solid #afa7b9; }
.transparent { background-color: rgb(175 167 185 / 50%); }
.gradient { background: linear-gradient(to right, #afa7b9, #b8a7b9); }
Similar colors
#b3b2bfNebulous December#b39eb5Pastel Purple#bdbaceBlue Haze#b7a5adFoggy Plum#c1acc3Monet Magic#c4bad2Fog Syringa#9999aaMachinery#bdb0d0Pastel Lilac
Questions
- What color is #AFA7B9?
- #AFA7B9 is a light, grayish violet, closest to the named color Nebulous December. It belongs to the gray family of colors.
- What is the RGB value of #AFA7B9?
- The RGB value is 175, 167, 185: 175 red, 167 green and 185 blue on a 0 to 255 scale.
- What is the complementary color of #AFA7B9?
- The complementary color is #B1B9A7, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFA7B9?
- Black text. Black text has a contrast ratio of 9.05:1 and white text 2.32:1. WCAG asks for at least 4.5:1 for normal text.