#AF9DB2 color
The hex color #AF9DB2 is a light, grayish magenta.
In the RGB color model it is made of 68.6% red, 61.6% green and 69.8% blue (175, 157, 178).
Its hue angle is 291°, with 12% saturation and 66% lightness. For print, the CMYK equivalent is 2% cyan, 12% magenta, 0% yellow and 30% black.
The closest named color is Pastel Purple (#B39EB5), a difference of 1.3 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 8.29:1).
#AF9DB2 color codes
| HEX | #AF9DB2 | |
|---|---|---|
| RGB | rgb(175, 157, 178) | |
| RGB percent | rgb(68.6%, 61.6%, 69.8%) | |
| HSL | hsl(291, 12%, 66%) | |
| HSV / HSB | hsv(291, 12%, 70%) | |
| CMYK | cmyk(2%, 12%, 0%, 30%) | |
| CIE LAB | lab(66.86, 10.46, -8.46) | |
| CIE LCH | lch(66.86, 13.45, 321.03) | |
| CIE XYZ | xyz(37.771, 36.443, 47.155) | |
| Decimal | 11509170 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AF9DB2, 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 #AF9DB2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.29:1 | Pass | Pass | Pass |
| Sample text | 2.53:1 | Fail | Fail | Fail |
| #AF9DB2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.53:1 | Fail | Fail | Fail |
| Sample text | 8.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 #AF9DB2 looks to people with the most common types of color vision deficiency.
#9ba1b3Protanopia
no red cones#9fa3b1Deuteranopia
no green cones#b09fa4Tritanopia
no blue cones#a3a3a3Achromatopsia
no color vision
CSS examples
.background { background-color: #af9db2; }
.text { color: #af9db2; }
.border { border: 2px solid #af9db2; }
.transparent { background-color: rgb(175 157 178 / 50%); }
.gradient { background: linear-gradient(to right, #af9db2, #b29dab); }
Similar colors
#b39eb5Pastel Purple#c1acc3Monet Magic#c19fb3Lily#bb99aaClassy Mauve#c2a4c2Novel Lilac#b7a5adFoggy Plum#a2919bNirvana#bb99bbDripping Wisteria
Questions
- What color is #AF9DB2?
- #AF9DB2 is a light, grayish magenta, closest to the named color Pastel Purple. It belongs to the purple family of colors.
- What is the RGB value of #AF9DB2?
- The RGB value is 175, 157, 178: 175 red, 157 green and 178 blue on a 0 to 255 scale.
- What is the complementary color of #AF9DB2?
- The complementary color is #A0B29D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AF9DB2?
- Black text. Black text has a contrast ratio of 8.29:1 and white text 2.53:1. WCAG asks for at least 4.5:1 for normal text.