#AF8BC7 color
The hex color #AF8BC7 is a light, desaturated violet.
In the RGB color model it is made of 68.6% red, 54.5% green and 78% blue (175, 139, 199).
Its hue angle is 276°, with 35% saturation and 66% lightness. For print, the CMYK equivalent is 12% cyan, 30% magenta, 0% yellow and 22% black.
The closest named color is Fleur-De-Lis (#B090C7), a difference of 1.7 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 7.34:1).
#AF8BC7 color codes
| HEX | #AF8BC7 | |
|---|---|---|
| RGB | rgb(175, 139, 199) | |
| RGB percent | rgb(68.6%, 54.5%, 78%) | |
| HSL | hsl(276, 35%, 66%) | |
| HSV / HSB | hsv(276, 30%, 78%) | |
| CMYK | cmyk(12%, 30%, 0%, 22%) | |
| CIE LAB | lab(63.1, 24.87, -25.92) | |
| CIE LCH | lch(63.1, 35.92, 313.81) | |
| CIE XYZ | xyz(37.219, 31.703, 58.18) | |
| Decimal | 11504583 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AF8BC7, 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 #AF8BC7 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.34:1 | Pass | Pass | Pass |
| Sample text | 2.86:1 | Fail | Fail | Fail |
| #AF8BC7 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.86:1 | Fail | Fail | Fail |
| Sample text | 7.34: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 #AF8BC7 looks to people with the most common types of color vision deficiency.
#8197c9Protanopia
no red cones#8999c5Deuteranopia
no green cones#ad93a1Tritanopia
no blue cones#999999Achromatopsia
no color vision
CSS examples
.background { background-color: #af8bc7; }
.text { color: #af8bc7; }
.border { border: 2px solid #af8bc7; }
.transparent { background-color: rgb(175 139 199 / 50%); }
.gradient { background: linear-gradient(to right, #af8bc7, #c78bc1); }
Similar colors
#b090c7Fleur-De-Lis#a893c1Enchanted Lilac#9c87c1Petrified Purple#bf8fc4Violaceous#a97fb1Heart Potion#ab7cb4Berries Galore#b19cd9Violet Velvet#bb9ecdTurnip Crown
Closest common color name: Lavender Purple.
Questions
- What color is #AF8BC7?
- #AF8BC7 is a light, desaturated violet, closest to the named color Fleur-De-Lis. It belongs to the purple family of colors.
- What is the RGB value of #AF8BC7?
- The RGB value is 175, 139, 199: 175 red, 139 green and 199 blue on a 0 to 255 scale.
- What is the complementary color of #AF8BC7?
- The complementary color is #A3C78B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AF8BC7?
- Black text. Black text has a contrast ratio of 7.34:1 and white text 2.86:1. WCAG asks for at least 4.5:1 for normal text.