#AFA2BC color
The hex color #AFA2BC is a light, grayish violet.
In the RGB color model it is made of 68.6% red, 63.5% green and 73.7% blue (175, 162, 188).
Its hue angle is 270°, with 16% saturation and 69% lightness. For print, the CMYK equivalent is 7% cyan, 14% magenta, 0% yellow and 26% 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 8.72:1).
#AFA2BC color codes
| HEX | #AFA2BC | |
|---|---|---|
| RGB | rgb(175, 162, 188) | |
| RGB percent | rgb(68.6%, 63.5%, 73.7%) | |
| HSL | hsl(270, 16%, 69%) | |
| HSV / HSB | hsv(270, 14%, 74%) | |
| CMYK | cmyk(7%, 14%, 0%, 26%) | |
| CIE LAB | lab(68.45, 9.67, -11.65) | |
| CIE LCH | lch(68.45, 15.14, 309.69) | |
| CIE XYZ | xyz(39.675, 38.586, 52.925) | |
| Decimal | 11510460 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFA2BC, 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 #AFA2BC | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.72:1 | Pass | Pass | Pass |
| Sample text | 2.41:1 | Fail | Fail | Fail |
| #AFA2BC as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.41:1 | Fail | Fail | Fail |
| Sample text | 8.72: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 #AFA2BC looks to people with the most common types of color vision deficiency.
#9ea6bdProtanopia
no red cones#a0a7bbDeuteranopia
no green cones#aea5abTritanopia
no blue cones#a7a7a7Achromatopsia
no color vision
CSS examples
.background { background-color: #afa2bc; }
.text { color: #afa2bc; }
.border { border: 2px solid #afa2bc; }
.transparent { background-color: rgb(175 162 188 / 50%); }
.gradient { background: linear-gradient(to right, #afa2bc, #bca2bc); }
Similar colors
#b39eb5Pastel Purple#c1acc3Monet Magic#bdb0d0Pastel Lilac#c0b0d0Vintage Bloom#c2a4c2Novel Lilac#c0b2d7Moonraker#baa2ceLucius Lilac#c4bad2Fog Syringa
Questions
- What color is #AFA2BC?
- #AFA2BC 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 #AFA2BC?
- The RGB value is 175, 162, 188: 175 red, 162 green and 188 blue on a 0 to 255 scale.
- What is the complementary color of #AFA2BC?
- The complementary color is #AFBCA2, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFA2BC?
- Black text. Black text has a contrast ratio of 8.72:1 and white text 2.41:1. WCAG asks for at least 4.5:1 for normal text.