What is hex #CC00FF color?
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, 0% green and 100% blue, resulting in rgb(204, 0, 255) and hsl(288, 100%, 50%).
For print media and manufacturing layout, the CMYK equivalent is (20%, 100%, 0%, 0%).
In the HSV/HSB scale, #CC00FF features a hue of 288°, 100% saturation, and 100% brightness.
Hex #CC00FF Color Codes & Conversions
| Closest Named Color | Electric Purple (#BF00FF) |
| Hex Code | #CC00FF |
| Hex8 (RGBA Hex) | #CC00FFFF |
| RGB (CSS) | rgb(204, 0, 255) |
| RGBA (CSS) | rgba(204, 0, 255, 1) |
| HSL (CSS) | hsl(288, 100%, 50%) |
| HSLA (CSS) | hsla(288, 100%, 50%, 1) |
| HSV / HSB | (288°, 100%, 100%) |
| CMYK Values | (20%, 100%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(62.7% 0.307 316.4) |
| CIE-LAB (D65) | 51.90, 90.99, -74.83 |
| CIE XYZ | 42.95, 20.06, 96.20 |
| Decimal / Binary |
13369599
11001100 00000000 11111111 |
Closest Standards & Equivalents
| Closest Web Safe | #CC00FF |
| Inverse Color | #33FF00 |
| Complementary Color | #33FF00 |
| Closest Pantone® | Pantone 2395 C |
| Closest RAL | RAL 4010 [Telemagenta] |
#CC00FF Grayscale Equivalents
| Average | #999999 |
| Lightness (Desaturation) | #808080 [Grey] |
| Weighted (BT601) | #5A5A5A |
| Luma (BT709) | #3E3E3E |
WCAG 2.1 Color Contrast & Accessibility
Check how #CC00FF 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 #CC00FF
Sample preview of readable typography on top of #CC00FF.
Black Text on #CC00FF
Sample preview of readable typography on top of #CC00FF.
HTML / CSS Live Previews & Snippets for #CC00FF
Preview #CC00FF in real UI elements and copy ready-to-use CSS rules.
background-color: #CC00FF;
color: #CC00FF;
border: 2px solid #CC00FF;
:root {
--color-primary: #CC00FF;
--color-primary-rgb: 204, 0, 255;
--color-complementary: #33FF00;
}
.btn-accent {
background-color: #CC00FF;
color: #000000;
}
Hex #CC00FF Color Palettes
Complementary Palette
The complementary color of #CC00FF is #33FF00. 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 #CC00FF pairs with #4C00FF and #FF00B2, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #CC00FF pairs with #00FF4C and #B2FF00, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #CC00FF uses #00FFCC and #FFCC00, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #CC00FF combines #FFCC00, #33FF00 and #0033FF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #CC00FF pairs with #FF4C00, #33FF00 and #00B2FF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #CC00FF
Tints
Tints are created by mixing #CC00FF with white, producing lighter variations.
Tones
Tones are created by mixing #CC00FF with gray, softening saturation.
Shades
Shades result from mixing #CC00FF with black, creating deeper variations.
Hex #CC00FF in Programming & CSS Frameworks
Copy the exact syntax for #CC00FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #CC00FF |
| Tailwind CSS | bg-[#CC00FF] text-[#CC00FF] |
| Java (AWT) | new Color(204,0,255); |
| Python | Color("#CC00FF") |
| .NET (C#) | Color.FromArgb(255, 204,0,255); |
| Swift / iOS | UIColor(red: 0.8, green: 0, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(204, 0, 255) |