#AF64A8 color
The hex color #AF64A8 is a desaturated magenta.
In the RGB color model it is made of 68.6% red, 39.2% green and 65.9% blue (175, 100, 168).
Its hue angle is 306°, with 32% saturation and 54% lightness. For print, the CMYK equivalent is 0% cyan, 43% magenta, 4% yellow and 31% black.
The closest named color is Magenta Memoir (#B4559B), a difference of 4.4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.21:1).
#AF64A8 color codes
| HEX | #AF64A8 | |
|---|---|---|
| RGB | rgb(175, 100, 168) | |
| RGB percent | rgb(68.6%, 39.2%, 65.9%) | |
| HSL | hsl(306, 32%, 54%) | |
| HSV / HSB | hsv(306, 43%, 69%) | |
| CMYK | cmyk(0%, 43%, 4%, 31%) | |
| CIE LAB | lab(53.01, 40.31, -23.73) | |
| CIE LCH | lch(53.01, 46.78, 329.52) | |
| CIE XYZ | xyz(29.304, 21.057, 39.559) | |
| Decimal | 11494568 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AF64A8, 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 #AF64A8 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.21:1 | Pass | Fail | Pass |
| Sample text | 4.03:1 | Fail | Fail | Pass |
| #AF64A8 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.03:1 | Fail | Fail | Pass |
| Sample text | 5.21: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 #AF64A8 looks to people with the most common types of color vision deficiency.
#6178aaProtanopia
no red cones#7582a6Deuteranopia
no green cones#b46a7eTritanopia
no blue cones#7f7f7fAchromatopsia
no color vision
CSS examples
.background { background-color: #af64a8; }
.text { color: #af64a8; }
.border { border: 2px solid #af64a8; }
.transparent { background-color: rgb(175 100 168 / 50%); }
.gradient { background: linear-gradient(to right, #af64a8, #af6482); }
Similar colors
#b4559bMagenta Memoir#b86fc2Lavendless#a264baPrickly Purple#c35b99Llilacquered#9d5a8fBermuda Onion#a37298Drama Queen#946dadCrown Jewels#ab7cb4Berries Galore
Closest common color name: Medium Orchid.
Questions
- What color is #AF64A8?
- #AF64A8 is a desaturated magenta, closest to the named color Magenta Memoir. It belongs to the purple family of colors.
- What is the RGB value of #AF64A8?
- The RGB value is 175, 100, 168: 175 red, 100 green and 168 blue on a 0 to 255 scale.
- What is the complementary color of #AF64A8?
- The complementary color is #64AF6B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AF64A8?
- Black text. Black text has a contrast ratio of 5.21:1 and white text 4.03:1. WCAG asks for at least 4.5:1 for normal text.