What is hex #DFACFF 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, 172, 255) and hsl(277, 100%, 84%).
For print media and manufacturing layout, the CMYK equivalent is (13%, 33%, 0%, 0%).
In the HSV/HSB scale, #DFACFF features a hue of 277°, 33% saturation, and 100% brightness.
Hex #DFACFF Color Codes & Conversions
| Closest Named Color | Electric Lavender (#F4BBFF) |
| Hex Code | #DFACFF |
| Hex8 (RGBA Hex) | #DFACFFFF |
| RGB (CSS) | rgb(223, 172, 255) |
| RGBA (CSS) | rgba(223, 172, 255, 1) |
| HSL (CSS) | hsl(277, 100%, 84%) |
| HSLA (CSS) | hsla(277, 100%, 84%, 1) |
| HSV / HSB | (277°, 33%, 100%) |
| CMYK Values | (13%, 33%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(81.9% 0.125 311.8) |
| CIE-LAB (D65) | 77.53, 33.35, -34.04 |
| CIE XYZ | 63.23, 52.41, 101.37 |
| Decimal / Binary |
14658815
11011111 10101100 11111111 |
WCAG 2.1 Color Contrast & Accessibility
Check how #DFACFF 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 #DFACFF
Sample preview of readable typography on top of #DFACFF.
Black Text on #DFACFF
Sample preview of readable typography on top of #DFACFF.
HTML / CSS Live Previews & Snippets for #DFACFF
Preview #DFACFF in real UI elements and copy ready-to-use CSS rules.
background-color: #DFACFF;
color: #DFACFF;
border: 2px solid #DFACFF;
:root {
--color-primary: #DFACFF;
--color-primary-rgb: 223, 172, 255;
--color-complementary: #CCFFAC;
}
.btn-accent {
background-color: #DFACFF;
color: #000000;
}
Hex #DFACFF Color Palettes
Complementary Palette
The complementary color of #DFACFF is #CCFFAC. 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 #DFACFF pairs with #B5ACFF and #FFACF5, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #DFACFF pairs with #ACFFB5 and #F5FFAC, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #DFACFF uses #ACFFDF and #FFDFAC, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #DFACFF combines #FFDFAC, #CCFFAC and #ACCCFF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #DFACFF pairs with #FFB5AC, #CCFFAC and #ACF5FF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #DFACFF
Tints
Tints are created by mixing #DFACFF with white, producing lighter variations.
Tones
Tones are created by mixing #DFACFF with gray, softening saturation.
Shades
Shades result from mixing #DFACFF with black, creating deeper variations.
Hex #DFACFF in Programming & CSS Frameworks
Copy the exact syntax for #DFACFF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #DFACFF |
| Tailwind CSS | bg-[#DFACFF] text-[#DFACFF] |
| Java (AWT) | new Color(223,172,255); |
| Python | Color("#DFACFF") |
| .NET (C#) | Color.FromArgb(255, 223,172,255); |
| Swift / iOS | UIColor(red: 0.87, green: 0.67, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(223, 172, 255) |