What is hex #DFABFF color?

 
The hex code #DFABFF 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, 171, 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, #DFABFF features a hue of 277°, 33% saturation, and 100% brightness.

Hex #DFABFF Color Codes & Conversions

Closest Named Color
Electric Lavender (#F4BBFF)
Hex Code #DFABFF
Hex8 (RGBA Hex) #DFABFFFF
RGB (CSS) rgb(223, 171, 255)
RGBA (CSS) rgba(223, 171, 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.8% 0.127 312.0)
CIE-LAB (D65) 77.30, 33.88, -34.39
CIE XYZ 63.04, 52.03, 101.31
Decimal / Binary 14658559
11011111 10101011 11111111

Closest Standards & Equivalents

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

#DFABFF Grayscale Equivalents

Average
#D8D8D8
Lightness (Desaturation)
#D5D5D5
Weighted (BT601)
#C4C4C4
Luma (BT709)
#BCBCBC

WCAG 2.1 Color Contrast & Accessibility

Check how #DFABFF 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 #DFABFF

Sample preview of readable typography on top of #DFABFF.

Contrast Ratio: 1.84:1
AA Fail AAA Fail

Black Text on #DFABFF

Sample preview of readable typography on top of #DFABFF.

Contrast Ratio: 11.41:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #DFABFF

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

Background Preview
background-color: #DFABFF;
Typography Color Preview
color: #DFABFF;
Border & Shadow Preview
border: 2px solid #DFABFF;
CSS Custom Properties & Gradient
:root {
  --color-primary: #DFABFF;
  --color-primary-rgb: 223, 171, 255;
  --color-complementary: #CBFFAB;
}
.btn-accent {
  background-color: #DFABFF;
  color: #000000;
}

Hex #DFABFF Color Palettes

Complementary Palette

The complementary color of #DFABFF is #CBFFAB. 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 #DFABFF pairs with #B5ABFF and #FFABF5, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #DFABFF pairs with #ABFFB5 and #F5FFAB, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #DFABFF uses #ABFFDF and #FFDFAB, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #DFABFF combines #FFDFAB, #CBFFAB and #ABCBFF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #DFABFF pairs with #FFB5AB, #CBFFAB and #ABF5FF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #DFABFF

Tints

Tints are created by mixing #DFABFF with white, producing lighter variations.

Tones

Tones are created by mixing #DFABFF with gray, softening saturation.

Shades

Shades result from mixing #DFABFF with black, creating deeper variations.

Hex #DFABFF in Programming & CSS Frameworks

Copy the exact syntax for #DFABFF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #DFABFF
Tailwind CSS bg-[#DFABFF] text-[#DFABFF]
Java (AWT) new Color(223,171,255);
Python Color("#DFABFF")
.NET (C#) Color.FromArgb(255, 223,171,255);
Swift / iOS UIColor(red: 0.87, green: 0.67, blue: 1, alpha: 1)
Kotlin / Android Color.rgb(223, 171, 255)