#AFA2DB color
The hex color #AFA2DB is a light, desaturated violet.
In the RGB color model it is made of 68.6% red, 63.5% green and 85.9% blue (175, 162, 219).
Its hue angle is 254°, with 44% saturation and 75% lightness. For print, the CMYK equivalent is 20% cyan, 26% magenta, 0% yellow and 14% black.
The closest named color is Violet Velvet (#B19CD9), a difference of 2.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 9.01:1).
#AFA2DB color codes
| HEX | #AFA2DB | |
|---|---|---|
| RGB | rgb(175, 162, 219) | |
| RGB percent | rgb(68.6%, 63.5%, 85.9%) | |
| HSL | hsl(254, 44%, 75%) | |
| HSV / HSB | hsv(254, 26%, 86%) | |
| CMYK | cmyk(20%, 26%, 0%, 14%) | |
| CIE LAB | lab(69.52, 16.36, -27.16) | |
| CIE LCH | lch(69.52, 31.71, 301.06) | |
| CIE XYZ | xyz(43.383, 40.069, 72.453) | |
| Decimal | 11510491 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFA2DB, 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 #AFA2DB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.01:1 | Pass | Pass | Pass |
| Sample text | 2.33:1 | Fail | Fail | Fail |
| #AFA2DB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.33:1 | Fail | Fail | Fail |
| Sample text | 9.01: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 #AFA2DB looks to people with the most common types of color vision deficiency.
#95aaddProtanopia
no red cones#96a9d9Deuteranopia
no green cones#a6abb6Tritanopia
no blue cones#aaaaaaAchromatopsia
no color vision
CSS examples
.background { background-color: #afa2db; }
.text { color: #afa2db; }
.border { border: 2px solid #afa2db; }
.transparent { background-color: rgb(175 162 219 / 50%); }
.gradient { background: linear-gradient(to right, #afa2db, #cca2db); }
Similar colors
#b19cd9Violet Velvet#a99fcfImperial Lilac#bfa3d9Enchanted Lavender#b195e4Dreamy Candy Forest#baa2ceLucius Lilac#bb9ecdTurnip Crown#a893c1Enchanted Lilac#b090c7Fleur-De-Lis
Closest common color name: Wisteria.
Questions
- What color is #AFA2DB?
- #AFA2DB is a light, desaturated violet, closest to the named color Violet Velvet. It belongs to the blue family of colors.
- What is the RGB value of #AFA2DB?
- The RGB value is 175, 162, 219: 175 red, 162 green and 219 blue on a 0 to 255 scale.
- What is the complementary color of #AFA2DB?
- The complementary color is #CEDBA2, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFA2DB?
- Black text. Black text has a contrast ratio of 9.01:1 and white text 2.33:1. WCAG asks for at least 4.5:1 for normal text.