#AFA5BB color
The hex color #AFA5BB is a light, grayish violet.
In the RGB color model it is made of 68.6% red, 64.7% green and 73.3% blue (175, 165, 187).
Its hue angle is 267°, with 14% saturation and 69% lightness. For print, the CMYK equivalent is 6% cyan, 12% magenta, 0% yellow and 27% black.
The closest named color is Pastel Purple (#B39EB5), a difference of 4.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.92:1).
#AFA5BB color codes
| HEX | #AFA5BB | |
|---|---|---|
| RGB | rgb(175, 165, 187) | |
| RGB percent | rgb(68.6%, 64.7%, 73.3%) | |
| HSL | hsl(267, 14%, 69%) | |
| HSV / HSB | hsv(267, 12%, 73%) | |
| CMYK | cmyk(6%, 12%, 0%, 27%) | |
| CIE LAB | lab(69.19, 7.81, -9.98) | |
| CIE LCH | lch(69.19, 12.67, 308.02) | |
| CIE XYZ | xyz(40.102, 39.612, 52.537) | |
| Decimal | 11511227 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFA5BB, 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 #AFA5BB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.92:1 | Pass | Pass | Pass |
| Sample text | 2.35:1 | Fail | Fail | Fail |
| #AFA5BB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.35:1 | Fail | Fail | Fail |
| Sample text | 8.92: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 #AFA5BB looks to people with the most common types of color vision deficiency.
#a2a9bcProtanopia
no red cones#a3a9baDeuteranopia
no green cones#ada8acTritanopia
no blue cones#a9a9a9Achromatopsia
no color vision
CSS examples
.background { background-color: #afa5bb; }
.text { color: #afa5bb; }
.border { border: 2px solid #afa5bb; }
.transparent { background-color: rgb(175 165 187 / 50%); }
.gradient { background: linear-gradient(to right, #afa5bb, #baa5bb); }
Similar colors
#b39eb5Pastel Purple#c1acc3Monet Magic#bdb0d0Pastel Lilac#c0b0d0Vintage Bloom#c4bad2Fog Syringa#bdbaceBlue Haze#b7a5adFoggy Plum#b3b2bfNebulous December
Questions
- What color is #AFA5BB?
- #AFA5BB is a light, grayish violet, closest to the named color Pastel Purple. It belongs to the gray family of colors.
- What is the RGB value of #AFA5BB?
- The RGB value is 175, 165, 187: 175 red, 165 green and 187 blue on a 0 to 255 scale.
- What is the complementary color of #AFA5BB?
- The complementary color is #B1BBA5, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFA5BB?
- Black text. Black text has a contrast ratio of 8.92:1 and white text 2.35:1. WCAG asks for at least 4.5:1 for normal text.