#AF82B3 color
The hex color #AF82B3 is a grayish magenta.
In the RGB color model it is made of 68.6% red, 51% green and 70.2% blue (175, 130, 179).
Its hue angle is 295°, with 24% saturation and 61% lightness. For print, the CMYK equivalent is 2% cyan, 27% magenta, 0% yellow and 30% black.
The closest named color is Heart Potion (#A97FB1), a difference of 1.5 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 6.67:1).
#AF82B3 color codes
| HEX | #AF82B3 | |
|---|---|---|
| RGB | rgb(175, 130, 179) | |
| RGB percent | rgb(68.6%, 51%, 70.2%) | |
| HSL | hsl(295, 24%, 61%) | |
| HSV / HSB | hsv(295, 27%, 70%) | |
| CMYK | cmyk(2%, 27%, 0%, 30%) | |
| CIE LAB | lab(60.19, 25.82, -19.06) | |
| CIE LCH | lch(60.19, 32.1, 323.56) | |
| CIE XYZ | xyz(33.798, 28.335, 46.328) | |
| Decimal | 11502259 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AF82B3, 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 #AF82B3 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.67:1 | Pass | Fail | Pass |
| Sample text | 3.15:1 | Fail | Fail | Pass |
| #AF82B3 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.15:1 | Fail | Fail | Pass |
| Sample text | 6.67:1 | Pass | Fail | 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 #AF82B3 looks to people with the most common types of color vision deficiency.
#7e8eb5Protanopia
no red cones#8893b1Deuteranopia
no green cones#b18793Tritanopia
no blue cones#919191Achromatopsia
no color vision
CSS examples
.background { background-color: #af82b3; }
.text { color: #af82b3; }
.border { border: 2px solid #af82b3; }
.transparent { background-color: rgb(175 130 179 / 50%); }
.gradient { background: linear-gradient(to right, #af82b3, #b3829f); }
Similar colors
#a97fb1Heart Potion#ab7cb4Berries Galore#b97da8Romanov Mauve#bf8fc4Violaceous#bf90bbLa la Love#b090b2Metal Petal#b090c7Fleur-De-Lis#af8ba8Voila!
Closest common color name: Lavender Purple.
Questions
- What color is #AF82B3?
- #AF82B3 is a grayish magenta, closest to the named color Heart Potion. It belongs to the purple family of colors.
- What is the RGB value of #AF82B3?
- The RGB value is 175, 130, 179: 175 red, 130 green and 179 blue on a 0 to 255 scale.
- What is the complementary color of #AF82B3?
- The complementary color is #86B382, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AF82B3?
- Black text. Black text has a contrast ratio of 6.67:1 and white text 3.15:1. WCAG asks for at least 4.5:1 for normal text.