What is hex #DF2DFF color?

 
The hex code #DF2DFF is closest to the named color Electric Purple (#BF00FF).
In professional design frameworks, this hue is considered a highly vibrant and energetic tone. It is perfect for drawing attention to critical elements like call-to-action buttons, highlights, or modern branding.

From a technical standpoint, this color is composed of 87% red, 18% green and 100% blue, resulting in rgb(223, 45, 255) and hsl(291, 100%, 59%).
For print media and manufacturing layout, the CMYK equivalent is (13%, 82%, 0%, 0%).
In the HSV/HSB scale, #DF2DFF features a hue of 291°, 82% saturation, and 100% brightness.

Hex #DF2DFF Color Codes & Conversions

Closest Named Color
Electric Purple (#BF00FF)
Hex Code #DF2DFF
Hex8 (RGBA Hex) #DF2DFFFF
RGB (CSS) rgb(223, 45, 255)
RGBA (CSS) rgba(223, 45, 255, 1)
HSL (CSS) hsl(291, 100%, 59%)
HSLA (CSS) hsla(291, 100%, 59%, 1)
HSV / HSB (291°, 82%, 100%)
CMYK Values (13%, 82%, 0%, 0%)
OKLCH (Modern CSS) oklch(66.8% 0.295 320.6)
CIE-LAB (D65) 56.87, 87.97, -66.66
CIE XYZ 49.42, 24.79, 96.77
Decimal / Binary 14626303
11011111 00101101 11111111

Closest Standards & Equivalents

Closest Web Safe
#CC33FF
Inverse Color
#20D200
Complementary Color
#4DFF2D
Closest Pantone®
Pantone 807 C
Closest RAL
RAL 4010 [Telemagenta]

#DF2DFF Grayscale Equivalents

Average
#AEAEAE
Lightness (Desaturation)
#969696
Weighted (BT601)
#7A7A7A
Luma (BT709)
#626262

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #DF2DFF.

Contrast Ratio: 3.53:1
AA Fail AAA Fail

Black Text on #DF2DFF

Sample preview of readable typography on top of #DF2DFF.

Contrast Ratio: 5.96:1
AA Pass AAA Fail

HTML / CSS Live Previews & Snippets for #DF2DFF

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

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

Hex #DF2DFF Color Palettes

Complementary Palette

The complementary color of #DF2DFF is #4DFF2D. 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 #DF2DFF pairs with #762DFF and #FF2DB6, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #DF2DFF pairs with #2DFF76 and #B6FF2D, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #DF2DFF uses #2DFFDF and #FFDF2D, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #DF2DFF combines #FFDF2D, #4DFF2D and #2D4DFF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #DF2DFF pairs with #FF762D, #4DFF2D and #2DB6FF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #DF2DFF

Tints

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

Tones

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

Shades

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

Hex #DF2DFF in Programming & CSS Frameworks

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

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