#AF9ED9 color
The hex color #AF9ED9 is a light, desaturated violet.
In the RGB color model it is made of 68.6% red, 62% green and 85.1% blue (175, 158, 217).
Its hue angle is 257°, with 44% saturation and 74% lightness. For print, the CMYK equivalent is 19% cyan, 27% magenta, 0% yellow and 15% black.
The closest named color is Violet Velvet (#B19CD9), a difference of 1 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 8.72:1).
#AF9ED9 color codes
| HEX | #AF9ED9 | |
|---|---|---|
| RGB | rgb(175, 158, 217) | |
| RGB percent | rgb(68.6%, 62%, 85.1%) | |
| HSL | hsl(257, 44%, 74%) | |
| HSV / HSB | hsv(257, 27%, 85%) | |
| CMYK | cmyk(19%, 27%, 0%, 15%) | |
| CIE LAB | lab(68.44, 18.14, -27.71) | |
| CIE LCH | lch(68.44, 33.12, 303.22) | |
| CIE XYZ | xyz(42.428, 38.577, 70.843) | |
| Decimal | 11509465 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AF9ED9, 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 #AF9ED9 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.72:1 | Pass | Pass | Pass |
| Sample text | 2.41:1 | Fail | Fail | Fail |
| #AF9ED9 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.41:1 | Fail | Fail | Fail |
| Sample text | 8.72: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 #AF9ED9 looks to people with the most common types of color vision deficiency.
#91a7dbProtanopia
no red cones#93a6d7Deuteranopia
no green cones#a7a7b3Tritanopia
no blue cones#a7a7a7Achromatopsia
no color vision
CSS examples
.background { background-color: #af9ed9; }
.text { color: #af9ed9; }
.border { border: 2px solid #af9ed9; }
.transparent { background-color: rgb(175 158 217 / 50%); }
.gradient { background: linear-gradient(to right, #af9ed9, #cc9ed9); }
Similar colors
#b19cd9Violet Velvet#a99fcfImperial Lilac#bfa3d9Enchanted Lavender#b195e4Dreamy Candy Forest#baa2ceLucius Lilac#a893c1Enchanted Lilac#bb9ecdTurnip Crown#b090c7Fleur-De-Lis
Closest common color name: Wisteria.
Questions
- What color is #AF9ED9?
- #AF9ED9 is a light, desaturated violet, closest to the named color Violet Velvet. It belongs to the purple family of colors.
- What is the RGB value of #AF9ED9?
- The RGB value is 175, 158, 217: 175 red, 158 green and 217 blue on a 0 to 255 scale.
- What is the complementary color of #AF9ED9?
- The complementary color is #C8D99E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AF9ED9?
- Black text. Black text has a contrast ratio of 8.72:1 and white text 2.41:1. WCAG asks for at least 4.5:1 for normal text.