#AFA7BE color
The hex color #AFA7BE is a light, grayish violet.
In the RGB color model it is made of 68.6% red, 65.5% green and 74.5% blue (175, 167, 190).
Its hue angle is 261°, with 15% saturation and 70% lightness. For print, the CMYK equivalent is 8% cyan, 12% magenta, 0% yellow and 25% black.
The closest named color is Pastel Lilac (#BDB0D0), a difference of 4.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 9.09:1).
#AFA7BE color codes
| HEX | #AFA7BE | |
|---|---|---|
| RGB | rgb(175, 167, 190) | |
| RGB percent | rgb(68.6%, 65.5%, 74.5%) | |
| HSL | hsl(261, 15%, 70%) | |
| HSV / HSB | hsv(261, 12%, 75%) | |
| CMYK | cmyk(8%, 12%, 0%, 25%) | |
| CIE LAB | lab(69.8, 7.31, -10.73) | |
| CIE LCH | lch(69.8, 12.99, 304.25) | |
| CIE XYZ | xyz(40.79, 40.469, 54.368) | |
| Decimal | 11511742 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFA7BE, 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 #AFA7BE | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.09:1 | Pass | Pass | Pass |
| Sample text | 2.31:1 | Fail | Fail | Fail |
| #AFA7BE as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.31:1 | Fail | Fail | Fail |
| Sample text | 9.09: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 #AFA7BE looks to people with the most common types of color vision deficiency.
#a3aabfProtanopia
no red cones#a4aabdDeuteranopia
no green cones#adaaaeTritanopia
no blue cones#abababAchromatopsia
no color vision
CSS examples
.background { background-color: #afa7be; }
.text { color: #afa7be; }
.border { border: 2px solid #afa7be; }
.transparent { background-color: rgb(175 167 190 / 50%); }
.gradient { background: linear-gradient(to right, #afa7be, #baa7be); }
Similar colors
#bdb0d0Pastel Lilac#b39eb5Pastel Purple#c0b0d0Vintage Bloom#c1acc3Monet Magic#c4bad2Fog Syringa#bdbaceBlue Haze#b3b2bfNebulous December#c0b2d7Moonraker
Questions
- What color is #AFA7BE?
- #AFA7BE is a light, grayish violet, closest to the named color Pastel Lilac. It belongs to the gray family of colors.
- What is the RGB value of #AFA7BE?
- The RGB value is 175, 167, 190: 175 red, 167 green and 190 blue on a 0 to 255 scale.
- What is the complementary color of #AFA7BE?
- The complementary color is #B6BEA7, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFA7BE?
- Black text. Black text has a contrast ratio of 9.09:1 and white text 2.31:1. WCAG asks for at least 4.5:1 for normal text.