What is hex #CC2DFF color?

 
The hex code #CC2DFF 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 80% red, 18% green and 100% blue, resulting in rgb(204, 45, 255) and hsl(285, 100%, 59%).
For print media and manufacturing layout, the CMYK equivalent is (20%, 82%, 0%, 0%).
In the HSV/HSB scale, #CC2DFF features a hue of 285°, 82% saturation, and 100% brightness.

Hex #CC2DFF Color Codes & Conversions

Closest Named Color
Electric Purple (#BF00FF)
Hex Code #CC2DFF
Hex8 (RGBA Hex) #CC2DFFFF
RGB (CSS) rgb(204, 45, 255)
RGBA (CSS) rgba(204, 45, 255, 1)
HSL (CSS) hsl(285, 100%, 59%)
HSLA (CSS) hsla(285, 100%, 59%, 1)
HSV / HSB (285°, 82%, 100%)
CMYK Values (20%, 82%, 0%, 0%)
OKLCH (Modern CSS) oklch(64.2% 0.289 315.7)
CIE-LAB (D65) 53.96, 84.91, -71.50
CIE XYZ 43.89, 21.94, 96.51
Decimal / Binary 13381119
11001100 00101101 11111111

Closest Standards & Equivalents

Closest Web Safe
#CC33FF
Inverse Color
#33D200
Complementary Color
#60FF2D
Closest Pantone®
Pantone Purple C
Closest RAL
RAL 4010 [Telemagenta]

#CC2DFF Grayscale Equivalents

Average
#A8A8A8
Lightness (Desaturation)
#969696
Weighted (BT601)
#747474
Luma (BT709)
#5E5E5E

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #CC2DFF.

Contrast Ratio: 3.9:1
AA Fail AAA Fail

Black Text on #CC2DFF

Sample preview of readable typography on top of #CC2DFF.

Contrast Ratio: 5.39:1
AA Pass AAA Fail

HTML / CSS Live Previews & Snippets for #CC2DFF

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

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

Hex #CC2DFF Color Palettes

Complementary Palette

The complementary color of #CC2DFF is #60FF2D. 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 #CC2DFF pairs with #632DFF and #FF2DC9, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

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

Triadic Palette

The triadic color scheme of #CC2DFF uses #2DFFCC and #FFCC2D, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #CC2DFF combines #FFCC2D, #60FF2D and #2D60FF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #CC2DFF pairs with #FF632D, #60FF2D and #2DC9FF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #CC2DFF

Tints

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

Tones

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

Shades

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

Hex #CC2DFF in Programming & CSS Frameworks

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

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