#AF8DB3 color
The hex color #AF8DB3 is a light, grayish magenta.
In the RGB color model it is made of 68.6% red, 55.3% green and 70.2% blue (175, 141, 179).
Its hue angle is 294°, with 20% saturation and 63% lightness. For print, the CMYK equivalent is 2% cyan, 21% magenta, 0% yellow and 30% black.
The closest named color is Metal Petal (#B090B2), a difference of 1.4 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 7.28:1).
#AF8DB3 color codes
| HEX | #AF8DB3 | |
|---|---|---|
| RGB | rgb(175, 141, 179) | |
| RGB percent | rgb(68.6%, 55.3%, 70.2%) | |
| HSL | hsl(294, 20%, 63%) | |
| HSV / HSB | hsv(294, 21%, 70%) | |
| CMYK | cmyk(2%, 21%, 0%, 30%) | |
| CIE LAB | lab(62.86, 19.62, -15.02) | |
| CIE LCH | lch(62.86, 24.71, 322.58) | |
| CIE XYZ | xyz(35.34, 31.419, 46.842) | |
| Decimal | 11505075 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AF8DB3, 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 #AF8DB3 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.28:1 | Pass | Pass | Pass |
| Sample text | 2.88:1 | Fail | Fail | Fail |
| #AF8DB3 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.88:1 | Fail | Fail | Fail |
| Sample text | 7.28: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 #AF8DB3 looks to people with the most common types of color vision deficiency.
#8a96b5Protanopia
no red cones#9199b2Deuteranopia
no green cones#b1909aTritanopia
no blue cones#989898Achromatopsia
no color vision
CSS examples
.background { background-color: #af8db3; }
.text { color: #af8db3; }
.border { border: 2px solid #af8db3; }
.transparent { background-color: rgb(175 141 179 / 50%); }
.gradient { background: linear-gradient(to right, #af8db3, #b38da4); }
Similar colors
#b090b2Metal Petal#af8ba8Voila!#bf90bbLa la Love#bb99bbDripping Wisteria#bf91b2Mauve Magic#bf8fc4Violaceous#a97fb1Heart Potion#a893c1Enchanted Lilac
Closest common color name: Lilac.
Questions
- What color is #AF8DB3?
- #AF8DB3 is a light, grayish magenta, closest to the named color Metal Petal. It belongs to the purple family of colors.
- What is the RGB value of #AF8DB3?
- The RGB value is 175, 141, 179: 175 red, 141 green and 179 blue on a 0 to 255 scale.
- What is the complementary color of #AF8DB3?
- The complementary color is #91B38D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AF8DB3?
- Black text. Black text has a contrast ratio of 7.28:1 and white text 2.88:1. WCAG asks for at least 4.5:1 for normal text.