#DFA6F2 color
#DFA6F2 is a very light, vivid violet, closest to the CSS named color plum (#DDA0DD).
Color values
| HEX | #DFA6F2 |
| RGB | rgb(223, 166, 242) |
| HSL | hsl(285, 75%, 80%) |
| CMYK | cmyk(8%, 31%, 0%, 5%) |
| Decimal | 14657266 |
| CSS | color: #DFA6F2; |
| Android | 0xFFDFA6F2 |
| Swift | UIColor(red: 0.875, green: 0.651, blue: 0.949, alpha: 1) |
Accessibility and contrast
| White text on #DFA6F2 | 1.93:1 — AA fail · AA large fail · AAA fail |
| Black text on #DFA6F2 | 10.87:1 — AA pass · AA large pass · AAA pass |
| 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 #DFA6F2
Each swatch keeps the hue and saturation of #DFA6F2 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #DFA6F2
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #DFA6F2 in code
/* CSS */
.element { color: #DFA6F2; background-color: #DFA6F2; }
.element { color: rgb(223 166 242); }
.element { color: hsl(285 75% 80%); }
/* Tailwind arbitrary value */
<div class="bg-[#DFA6F2] text-black">
/* SCSS variable */
$brand: #DFA6F2;
Frequently asked questions
What color is #DFA6F2?
#DFA6F2 is a very light, vivid violet. Its hue sits at 285° on the color wheel, with 75% saturation and 80% lightness.
What is #DFA6F2 in RGB?
#DFA6F2 converts to rgb(223, 166, 242) — 223 red, 166 green and 242 blue.
What is #DFA6F2 in CMYK?
Approximately cmyk(8%, 31%, 0%, 5%). 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 #DFA6F2 be white or black?
Black gives the better contrast ratio (10.87:1 versus 1.93:1).
What is the complementary color of #DFA6F2?
#B9F2A6 — the hue directly opposite #DFA6F2 on the color wheel.