#AF8FB9 color
The hex color #AF8FB9 is a light, grayish magenta.
In the RGB color model it is made of 68.6% red, 56.1% green and 72.5% blue (175, 143, 185).
Its hue angle is 286°, with 23% saturation and 64% lightness. For print, the CMYK equivalent is 5% cyan, 23% magenta, 0% yellow and 27% black.
The closest named color is Metal Petal (#B090B2), a difference of 2.4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 7.45:1).
#AF8FB9 color codes
| HEX | #AF8FB9 | |
|---|---|---|
| RGB | rgb(175, 143, 185) | |
| RGB percent | rgb(68.6%, 56.1%, 72.5%) | |
| HSL | hsl(286, 23%, 64%) | |
| HSV / HSB | hsv(286, 23%, 73%) | |
| CMYK | cmyk(5%, 23%, 0%, 27%) | |
| CIE LAB | lab(63.56, 19.7, -17.34) | |
| CIE LCH | lch(63.56, 26.24, 318.64) | |
| CIE XYZ | xyz(36.257, 32.262, 50.207) | |
| Decimal | 11505593 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AF8FB9, 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 #AF8FB9 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.45:1 | Pass | Pass | Pass |
| Sample text | 2.82:1 | Fail | Fail | Fail |
| #AF8FB9 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.82:1 | Fail | Fail | Fail |
| Sample text | 7.45: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 #AF8FB9 looks to people with the most common types of color vision deficiency.
#8a98bbProtanopia
no red cones#919bb8Deuteranopia
no green cones#af939dTritanopia
no blue cones#9a9a9aAchromatopsia
no color vision
CSS examples
.background { background-color: #af8fb9; }
.text { color: #af8fb9; }
.border { border: 2px solid #af8fb9; }
.transparent { background-color: rgb(175 143 185 / 50%); }
.gradient { background: linear-gradient(to right, #af8fb9, #b98fae); }
Similar colors
#b090b2Metal Petal#a893c1Enchanted Lilac#b090c7Fleur-De-Lis#bf90bbLa la Love#bb99bbDripping Wisteria#bf8fc4Violaceous#a090b8Wizard’s Brew#af8ba8Voila!
Closest common color name: Lilac.
Questions
- What color is #AF8FB9?
- #AF8FB9 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 #AF8FB9?
- The RGB value is 175, 143, 185: 175 red, 143 green and 185 blue on a 0 to 255 scale.
- What is the complementary color of #AF8FB9?
- The complementary color is #99B98F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AF8FB9?
- Black text. Black text has a contrast ratio of 7.45:1 and white text 2.82:1. WCAG asks for at least 4.5:1 for normal text.