#AF9DC5 color
The hex color #AF9DC5 is a light, desaturated violet.
In the RGB color model it is made of 68.6% red, 61.6% green and 77.3% blue (175, 157, 197).
Its hue angle is 267°, with 26% saturation and 69% lightness. For print, the CMYK equivalent is 11% cyan, 20% magenta, 0% yellow and 23% black.
The closest named color is Lucius Lilac (#BAA2CE), a difference of 2.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.45:1).
#AF9DC5 color codes
| HEX | #AF9DC5 | |
|---|---|---|
| RGB | rgb(175, 157, 197) | |
| RGB percent | rgb(68.6%, 61.6%, 77.3%) | |
| HSL | hsl(267, 26%, 69%) | |
| HSV / HSB | hsv(267, 20%, 77%) | |
| CMYK | cmyk(11%, 20%, 0%, 23%) | |
| CIE LAB | lab(67.47, 14.32, -18.12) | |
| CIE LCH | lch(67.47, 23.1, 308.31) | |
| CIE XYZ | xyz(39.812, 37.259, 57.907) | |
| Decimal | 11509189 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AF9DC5, 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 #AF9DC5 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.45:1 | Pass | Pass | Pass |
| Sample text | 2.48:1 | Fail | Fail | Fail |
| #AF9DC5 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.48:1 | Fail | Fail | Fail |
| Sample text | 8.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 #AF9DC5 looks to people with the most common types of color vision deficiency.
#96a4c7Protanopia
no red cones#99a4c4Deuteranopia
no green cones#aca2abTritanopia
no blue cones#a4a4a4Achromatopsia
no color vision
CSS examples
.background { background-color: #af9dc5; }
.text { color: #af9dc5; }
.border { border: 2px solid #af9dc5; }
.transparent { background-color: rgb(175 157 197 / 50%); }
.gradient { background: linear-gradient(to right, #af9dc5, #c39dc5); }
Similar colors
#baa2ceLucius Lilac#a893c1Enchanted Lilac#bb9ecdTurnip Crown#a99fcfImperial Lilac#a090b8Wizard’s Brew#bfa3d9Enchanted Lavender#bb99bbDripping Wisteria#b090c7Fleur-De-Lis
Closest common color name: Pastel Purple.
Questions
- What color is #AF9DC5?
- #AF9DC5 is a light, desaturated violet, closest to the named color Lucius Lilac. It belongs to the purple family of colors.
- What is the RGB value of #AF9DC5?
- The RGB value is 175, 157, 197: 175 red, 157 green and 197 blue on a 0 to 255 scale.
- What is the complementary color of #AF9DC5?
- The complementary color is #B3C59D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AF9DC5?
- Black text. Black text has a contrast ratio of 8.45:1 and white text 2.48:1. WCAG asks for at least 4.5:1 for normal text.