What is hex #DFACFF color?

 
The hex code #DFACFF is closest to the named color Electric Lavender (#F4BBFF).
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

Closest Standards & Equivalents

Closest Web Safe
#CC99FF
Inverse Color
#205300
Complementary Color
#CCFFAC
Closest Pantone®
Pantone 2562 C
Closest RAL
RAL 9003 [Signal white]

#DFACFF Grayscale Equivalents

Average
#D9D9D9
Lightness (Desaturation)
#D6D6D6
Weighted (BT601)
#C5C5C5
Luma (BT709)
#BDBDBD

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.

Contrast Ratio: 1.83:1
AA Fail AAA Fail

Black Text on #DFACFF

Sample preview of readable typography on top of #DFACFF.

Contrast Ratio: 11.48:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #DFACFF

Preview #DFACFF in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #DFACFF;
Typography Color Preview
color: #DFACFF;
Border & Shadow Preview
border: 2px solid #DFACFF;
CSS Custom Properties & Gradient
: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)