#AD51DF color
The hex color #AD51DF is a moderate violet.
In the RGB color model it is made of 67.8% red, 31.8% green and 87.5% blue (173, 81, 223).
Its hue angle is 279°, with 69% saturation and 60% lightness. For print, the CMYK equivalent is 22% cyan, 64% magenta, 0% yellow and 13% black.
The closest named color is Magenta Affair (#AA44DD), a difference of 2.8 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.02:1).
#AD51DF color codes
| HEX | #AD51DF | |
|---|---|---|
| RGB | rgb(173, 81, 223) | |
| RGB percent | rgb(67.8%, 31.8%, 87.5%) | |
| HSL | hsl(279, 69%, 60%) | |
| HSV / HSB | hsv(279, 64%, 87%) | |
| CMYK | cmyk(22%, 64%, 0%, 13%) | |
| CIE LAB | lab(51.95, 60.29, -57.02) | |
| CIE LCH | lch(51.95, 82.98, 316.59) | |
| CIE XYZ | xyz(33.493, 20.098, 71.913) | |
| Decimal | 11358687 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AD51DF, 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 #AD51DF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.02:1 | Pass | Fail | Pass |
| Sample text | 4.18:1 | Fail | Fail | Pass |
| #AD51DF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.18:1 | Fail | Fail | Pass |
| Sample text | 5.02: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 #AD51DF looks to people with the most common types of color vision deficiency.
#0077e3Protanopia
no red cones#437edcDeuteranopia
no green cones#a76d91Tritanopia
no blue cones#7c7c7cAchromatopsia
no color vision
CSS examples
.background { background-color: #ad51df; }
.text { color: #ad51df; }
.border { border: 2px solid #ad51df; }
.transparent { background-color: rgb(173 81 223 / 50%); }
.gradient { background: linear-gradient(to right, #ad51df, #df51ca); }
Similar colors
#aa44ddMagenta Affair#ba55d3Medium Orchid#a55af4Orion Nebula#9d61d4Legendary Lavender#bf3cffMagento#bb55ccLove Priestess#aa33eeSweet Desire#a669dbViolet Voltage
Questions
- What color is #AD51DF?
- #AD51DF is a moderate violet, closest to the named color Magenta Affair. It belongs to the purple family of colors.
- What is the RGB value of #AD51DF?
- The RGB value is 173, 81, 223: 173 red, 81 green and 223 blue on a 0 to 255 scale.
- What is the complementary color of #AD51DF?
- The complementary color is #83DF51, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AD51DF?
- Black text. Black text has a contrast ratio of 5.02:1 and white text 4.18:1. WCAG asks for at least 4.5:1 for normal text.