#AF96BD color
The hex color #AF96BD is a light, grayish violet.
In the RGB color model it is made of 68.6% red, 58.8% green and 74.1% blue (175, 150, 189).
Its hue angle is 278°, with 23% saturation and 66% lightness. For print, the CMYK equivalent is 7% cyan, 21% magenta, 0% yellow and 26% black.
The closest named color is Enchanted Lilac (#A893C1), a difference of 2.8 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 7.92:1).
#AF96BD color codes
| HEX | #AF96BD | |
|---|---|---|
| RGB | rgb(175, 150, 189) | |
| RGB percent | rgb(68.6%, 58.8%, 74.1%) | |
| HSL | hsl(278, 23%, 66%) | |
| HSV / HSB | hsv(278, 21%, 74%) | |
| CMYK | cmyk(7%, 21%, 0%, 26%) | |
| CIE LAB | lab(65.44, 16.57, -16.74) | |
| CIE LCH | lch(65.44, 23.56, 314.71) | |
| CIE XYZ | xyz(37.769, 34.601, 52.823) | |
| Decimal | 11507389 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AF96BD, 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 #AF96BD | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.92:1 | Pass | Pass | Pass |
| Sample text | 2.65:1 | Fail | Fail | Fail |
| #AF96BD as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.65:1 | Fail | Fail | Fail |
| Sample text | 7.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 #AF96BD looks to people with the most common types of color vision deficiency.
#919dbfProtanopia
no red cones#96a0bcDeuteranopia
no green cones#ae9aa3Tritanopia
no blue cones#9f9f9fAchromatopsia
no color vision
CSS examples
.background { background-color: #af96bd; }
.text { color: #af96bd; }
.border { border: 2px solid #af96bd; }
.transparent { background-color: rgb(175 150 189 / 50%); }
.gradient { background: linear-gradient(to right, #af96bd, #bd96b8); }
Similar colors
#a893c1Enchanted Lilac#b090b2Metal Petal#bb99bbDripping Wisteria#bb9ecdTurnip Crown#a090b8Wizard’s Brew#baa2ceLucius Lilac#b090c7Fleur-De-Lis#c6a1cfLilac Lace
Closest common color name: Pastel Purple.
Questions
- What color is #AF96BD?
- #AF96BD is a light, grayish violet, closest to the named color Enchanted Lilac. It belongs to the purple family of colors.
- What is the RGB value of #AF96BD?
- The RGB value is 175, 150, 189: 175 red, 150 green and 189 blue on a 0 to 255 scale.
- What is the complementary color of #AF96BD?
- The complementary color is #A4BD96, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AF96BD?
- Black text. Black text has a contrast ratio of 7.92:1 and white text 2.65:1. WCAG asks for at least 4.5:1 for normal text.