#AFA0BD color
The hex color #AFA0BD is a light, grayish violet.
In the RGB color model it is made of 68.6% red, 62.7% green and 74.1% blue (175, 160, 189).
Its hue angle is 271°, with 18% saturation and 68% lightness. For print, the CMYK equivalent is 7% cyan, 15% magenta, 0% yellow and 26% black.
The closest named color is Pastel Purple (#B39EB5), a difference of 3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.59:1).
#AFA0BD color codes
| HEX | #AFA0BD | |
|---|---|---|
| RGB | rgb(175, 160, 189) | |
| RGB percent | rgb(68.6%, 62.7%, 74.1%) | |
| HSL | hsl(271, 18%, 68%) | |
| HSV / HSB | hsv(271, 15%, 74%) | |
| CMYK | cmyk(7%, 15%, 0%, 26%) | |
| CIE LAB | lab(67.97, 10.98, -12.93) | |
| CIE LCH | lch(67.97, 16.96, 310.35) | |
| CIE XYZ | xyz(39.434, 37.93, 53.378) | |
| Decimal | 11509949 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFA0BD, 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 #AFA0BD | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.59:1 | Pass | Pass | Pass |
| Sample text | 2.45:1 | Fail | Fail | Fail |
| #AFA0BD as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.45:1 | Fail | Fail | Fail |
| Sample text | 8.59: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 #AFA0BD looks to people with the most common types of color vision deficiency.
#9ca5beProtanopia
no red cones#9ea6bcDeuteranopia
no green cones#ada3aaTritanopia
no blue cones#a6a6a6Achromatopsia
no color vision
CSS examples
.background { background-color: #afa0bd; }
.text { color: #afa0bd; }
.border { border: 2px solid #afa0bd; }
.transparent { background-color: rgb(175 160 189 / 50%); }
.gradient { background: linear-gradient(to right, #afa0bd, #bda0bd); }
Similar colors
#b39eb5Pastel Purple#bdb0d0Pastel Lilac#c0b0d0Vintage Bloom#c1acc3Monet Magic#baa2ceLucius Lilac#c2a4c2Novel Lilac#bb99bbDripping Wisteria#c0b2d7Moonraker
Questions
- What color is #AFA0BD?
- #AFA0BD 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 #AFA0BD?
- The RGB value is 175, 160, 189: 175 red, 160 green and 189 blue on a 0 to 255 scale.
- What is the complementary color of #AFA0BD?
- The complementary color is #AEBDA0, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFA0BD?
- Black text. Black text has a contrast ratio of 8.59:1 and white text 2.45:1. WCAG asks for at least 4.5:1 for normal text.