#AFA1CF color
The hex color #AFA1CF is a light, desaturated violet.
In the RGB color model it is made of 68.6% red, 63.1% green and 81.2% blue (175, 161, 207).
Its hue angle is 258°, with 32% saturation and 72% lightness. For print, the CMYK equivalent is 15% cyan, 22% magenta, 0% yellow and 19% black.
The closest named color is Imperial Lilac (#A99FCF), a difference of 1.6 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 8.82:1).
#AFA1CF color codes
| HEX | #AFA1CF | |
|---|---|---|
| RGB | rgb(175, 161, 207) | |
| RGB percent | rgb(68.6%, 63.1%, 81.2%) | |
| HSL | hsl(258, 32%, 72%) | |
| HSV / HSB | hsv(258, 22%, 81%) | |
| CMYK | cmyk(15%, 22%, 0%, 19%) | |
| CIE LAB | lab(68.83, 14.24, -21.6) | |
| CIE LCH | lch(68.83, 25.87, 303.39) | |
| CIE XYZ | xyz(41.684, 39.109, 64.372) | |
| Decimal | 11510223 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFA1CF, 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 #AFA1CF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.82:1 | Pass | Pass | Pass |
| Sample text | 2.38:1 | Fail | Fail | Fail |
| #AFA1CF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.38:1 | Fail | Fail | Fail |
| Sample text | 8.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 #AFA1CF looks to people with the most common types of color vision deficiency.
#98a8d1Protanopia
no red cones#9aa8ceDeuteranopia
no green cones#a9a8b1Tritanopia
no blue cones#a8a8a8Achromatopsia
no color vision
CSS examples
.background { background-color: #afa1cf; }
.text { color: #afa1cf; }
.border { border: 2px solid #afa1cf; }
.transparent { background-color: rgb(175 161 207 / 50%); }
.gradient { background: linear-gradient(to right, #afa1cf, #c6a1cf); }
Similar colors
#a99fcfImperial Lilac#baa2ceLucius Lilac#b19cd9Violet Velvet#bfa3d9Enchanted Lavender#bb9ecdTurnip Crown#a893c1Enchanted Lilac#c0b2d7Moonraker#a090b8Wizard’s Brew
Closest common color name: Wisteria.
Questions
- What color is #AFA1CF?
- #AFA1CF is a light, desaturated violet, closest to the named color Imperial Lilac. It belongs to the purple family of colors.
- What is the RGB value of #AFA1CF?
- The RGB value is 175, 161, 207: 175 red, 161 green and 207 blue on a 0 to 255 scale.
- What is the complementary color of #AFA1CF?
- The complementary color is #C1CFA1, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFA1CF?
- Black text. Black text has a contrast ratio of 8.82:1 and white text 2.38:1. WCAG asks for at least 4.5:1 for normal text.