#AFA8CB color
The hex color #AFA8CB is a light, desaturated violet.
In the RGB color model it is made of 68.6% red, 65.9% green and 79.6% blue (175, 168, 203).
Its hue angle is 252°, with 25% saturation and 73% lightness. For print, the CMYK equivalent is 14% cyan, 17% magenta, 0% yellow and 20% black.
The closest named color is Pastel Lilac (#BDB0D0), a difference of 3.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 9.29:1).
#AFA8CB color codes
| HEX | #AFA8CB | |
|---|---|---|
| RGB | rgb(175, 168, 203) | |
| RGB percent | rgb(68.6%, 65.9%, 79.6%) | |
| HSL | hsl(252, 25%, 73%) | |
| HSV / HSB | hsv(252, 17%, 80%) | |
| CMYK | cmyk(14%, 17%, 0%, 20%) | |
| CIE LAB | lab(70.48, 9.48, -16.89) | |
| CIE LCH | lch(70.48, 19.37, 299.29) | |
| CIE XYZ | xyz(42.459, 41.431, 62.248) | |
| Decimal | 11512011 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFA8CB, 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 #AFA8CB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.29:1 | Pass | Pass | Pass |
| Sample text | 2.26:1 | Fail | Fail | Fail |
| #AFA8CB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.26:1 | Fail | Fail | Fail |
| Sample text | 9.29: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 #AFA8CB looks to people with the most common types of color vision deficiency.
#a1adcdProtanopia
no red cones#a1accaDeuteranopia
no green cones#aaadb4Tritanopia
no blue cones#acacacAchromatopsia
no color vision
CSS examples
.background { background-color: #afa8cb; }
.text { color: #afa8cb; }
.border { border: 2px solid #afa8cb; }
.transparent { background-color: rgb(175 168 203 / 50%); }
.gradient { background: linear-gradient(to right, #afa8cb, #c0a8cb); }
Similar colors
#bdb0d0Pastel Lilac#c0b2d7Moonraker#a99fcfImperial Lilac#c0b0d0Vintage Bloom#baa2ceLucius Lilac#c6bbdbNew Love#cabae0Viking Diva#c4bad2Fog Syringa
Closest common color name: Pastel Purple.
Questions
- What color is #AFA8CB?
- #AFA8CB is a light, desaturated violet, closest to the named color Pastel Lilac. It belongs to the blue family of colors.
- What is the RGB value of #AFA8CB?
- The RGB value is 175, 168, 203: 175 red, 168 green and 203 blue on a 0 to 255 scale.
- What is the complementary color of #AFA8CB?
- The complementary color is #C4CBA8, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFA8CB?
- Black text. Black text has a contrast ratio of 9.29:1 and white text 2.26:1. WCAG asks for at least 4.5:1 for normal text.