#AF9FBA color
The hex color #AF9FBA is a light, grayish violet.
In the RGB color model it is made of 68.6% red, 62.4% green and 72.9% blue (175, 159, 186).
Its hue angle is 276°, with 16% saturation and 68% lightness. For print, the CMYK equivalent is 6% cyan, 15% magenta, 0% yellow and 27% black.
The closest named color is Pastel Purple (#B39EB5), a difference of 2.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.49:1).
#AF9FBA color codes
| HEX | #AF9FBA | |
|---|---|---|
| RGB | rgb(175, 159, 186) | |
| RGB percent | rgb(68.6%, 62.4%, 72.9%) | |
| HSL | hsl(276, 16%, 68%) | |
| HSV / HSB | hsv(276, 15%, 73%) | |
| CMYK | cmyk(6%, 15%, 0%, 27%) | |
| CIE LAB | lab(67.62, 10.93, -11.78) | |
| CIE LCH | lch(67.62, 16.07, 312.85) | |
| CIE XYZ | xyz(38.939, 37.456, 51.623) | |
| Decimal | 11509690 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AF9FBA, 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 #AF9FBA | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.49:1 | Pass | Pass | Pass |
| Sample text | 2.47:1 | Fail | Fail | Fail |
| #AF9FBA as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.47:1 | Fail | Fail | Fail |
| Sample text | 8.49: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 #AF9FBA looks to people with the most common types of color vision deficiency.
#9ba4bbProtanopia
no red cones#9ea5b9Deuteranopia
no green cones#aea2a8Tritanopia
no blue cones#a5a5a5Achromatopsia
no color vision
CSS examples
.background { background-color: #af9fba; }
.text { color: #af9fba; }
.border { border: 2px solid #af9fba; }
.transparent { background-color: rgb(175 159 186 / 50%); }
.gradient { background: linear-gradient(to right, #af9fba, #ba9fb8); }
Similar colors
#b39eb5Pastel Purple#c1acc3Monet Magic#c2a4c2Novel Lilac#bdb0d0Pastel Lilac#c0b0d0Vintage Bloom#bb99bbDripping Wisteria#baa2ceLucius Lilac#a090b8Wizard’s Brew
Questions
- What color is #AF9FBA?
- #AF9FBA 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 #AF9FBA?
- The RGB value is 175, 159, 186: 175 red, 159 green and 186 blue on a 0 to 255 scale.
- What is the complementary color of #AF9FBA?
- The complementary color is #AABA9F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AF9FBA?
- Black text. Black text has a contrast ratio of 8.49:1 and white text 2.47:1. WCAG asks for at least 4.5:1 for normal text.