What is hex #DFAAFF color?
In professional design frameworks, this hue is considered a balanced and versatile hue. It is ideal for creating smooth color harmony, digital artwork, or minimalist web components.
From a technical standpoint, this color is composed of 87% red, 67% green and 100% blue, resulting in rgb(223, 170, 255) and hsl(277, 100%, 83%).
For print media and manufacturing layout, the CMYK equivalent is (13%, 33%, 0%, 0%).
In the HSV/HSB scale, #DFAAFF features a hue of 277°, 33% saturation, and 100% brightness.
Hex #DFAAFF Color Codes & Conversions
| Closest Named Color | Electric Lavender (#F4BBFF) |
| Hex Code | #DFAAFF |
| Hex8 (RGBA Hex) | #DFAAFFFF |
| RGB (CSS) | rgb(223, 170, 255) |
| RGBA (CSS) | rgba(223, 170, 255, 1) |
| HSL (CSS) | hsl(277, 100%, 83%) |
| HSLA (CSS) | hsla(277, 100%, 83%, 1) |
| HSV / HSB | (277°, 33%, 100%) |
| CMYK Values | (13%, 33%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(81.6% 0.129 312.2) |
| CIE-LAB (D65) | 77.08, 34.42, -34.74 |
| CIE XYZ | 62.85, 51.66, 101.25 |
| Decimal / Binary |
14658303
11011111 10101010 11111111 |
WCAG 2.1 Color Contrast & Accessibility
Check how #DFAAFF complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.
White Text on #DFAAFF
Sample preview of readable typography on top of #DFAAFF.
Black Text on #DFAAFF
Sample preview of readable typography on top of #DFAAFF.
HTML / CSS Live Previews & Snippets for #DFAAFF
Preview #DFAAFF in real UI elements and copy ready-to-use CSS rules.
background-color: #DFAAFF;
color: #DFAAFF;
border: 2px solid #DFAAFF;
:root {
--color-primary: #DFAAFF;
--color-primary-rgb: 223, 170, 255;
--color-complementary: #CAFFAA;
}
.btn-accent {
background-color: #DFAAFF;
color: #000000;
}
Hex #DFAAFF Color Palettes
Complementary Palette
The complementary color of #DFAAFF is #CAFFAA. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.
Analogous Palette
The analogous color scheme of #DFAAFF pairs with #B4AAFF and #FFAAF4, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #DFAAFF pairs with #AAFFB4 and #F4FFAA, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #DFAAFF uses #AAFFDF and #FFDFAA, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #DFAAFF combines #FFDFAA, #CAFFAA and #AACAFF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #DFAAFF pairs with #FFB4AA, #CAFFAA and #AAF4FF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #DFAAFF
Tints
Tints are created by mixing #DFAAFF with white, producing lighter variations.
Tones
Tones are created by mixing #DFAAFF with gray, softening saturation.
Shades
Shades result from mixing #DFAAFF with black, creating deeper variations.
Hex #DFAAFF in Programming & CSS Frameworks
Copy the exact syntax for #DFAAFF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #DFAAFF |
| Tailwind CSS | bg-[#DFAAFF] text-[#DFAAFF] |
| Java (AWT) | new Color(223,170,255); |
| Python | Color("#DFAAFF") |
| .NET (C#) | Color.FromArgb(255, 223,170,255); |
| Swift / iOS | UIColor(red: 0.87, green: 0.67, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(223, 170, 255) |