#A679D2 color
#A679D2 is a light, moderately saturated violet, closest to the CSS named color mediumpurple (#9370DB).
Color values
| HEX | #A679D2 |
| RGB | rgb(166, 121, 210) |
| HSL | hsl(270, 50%, 65%) |
| CMYK | cmyk(21%, 42%, 0%, 18%) |
| Decimal | 10910162 |
| CSS | color: #A679D2; |
| Android | 0xFFA679D2 |
| Swift | UIColor(red: 0.651, green: 0.475, blue: 0.824, alpha: 1) |
Accessibility and contrast
| White text on #A679D2 | 3.34:1 — AA fail · AA large pass · AAA fail |
| Black text on #A679D2 | 6.29:1 — AA pass · AA large pass · AAA fail |
| Recommended text color | black |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #A679D2
Each swatch keeps the hue and saturation of #A679D2 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #A679D2
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #A679D2 in code
/* CSS */
.element { color: #A679D2; background-color: #A679D2; }
.element { color: rgb(166 121 210); }
.element { color: hsl(270 50% 65%); }
/* Tailwind arbitrary value */
<div class="bg-[#A679D2] text-black">
/* SCSS variable */
$brand: #A679D2;
Frequently asked questions
What color is #A679D2?
#A679D2 is a light, moderately saturated violet. Its hue sits at 270° on the color wheel, with 50% saturation and 65% lightness.
What is #A679D2 in RGB?
#A679D2 converts to rgb(166, 121, 210) — 166 red, 121 green and 210 blue.
What is #A679D2 in CMYK?
Approximately cmyk(21%, 42%, 0%, 18%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #A679D2 be white or black?
Black gives the better contrast ratio (6.29:1 versus 3.34:1).
What is the complementary color of #A679D2?
#A6D279 — the hue directly opposite #A679D2 on the color wheel.