What is hex #AA02FF 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 67% red, 1% green and 100% blue, resulting in rgb(170, 2, 255) and hsl(280, 100%, 50%).
For print media and manufacturing layout, the CMYK equivalent is (33%, 99%, 0%, 0%).
In the HSV/HSB scale, #AA02FF features a hue of 280°, 99% saturation, and 100% brightness.
Hex #AA02FF Color Codes & Conversions
| Closest Named Color | Electric Purple (#BF00FF) |
| Hex Code | #AA02FF |
| Hex8 (RGBA Hex) | #AA02FFFF |
| RGB (CSS) | rgb(170, 2, 255) |
| RGBA (CSS) | rgba(170, 2, 255, 1) |
| HSL (CSS) | hsl(280, 100%, 50%) |
| HSLA (CSS) | hsla(280, 100%, 50%, 1) |
| HSV / HSB | (280°, 99%, 100%) |
| CMYK Values | (33%, 99%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(58.2% 0.298 307.0) |
| CIE-LAB (D65) | 46.72, 86.81, -83.51 |
| CIE XYZ | 34.65, 15.81, 95.81 |
| Decimal / Binary |
11141887
10101010 00000010 11111111 |
Closest Standards & Equivalents
| Closest Web Safe | #9900FF |
| Inverse Color | #55FD00 |
| Complementary Color | #57FF02 |
| Closest Pantone® | Pantone 253 C |
| Closest RAL | RAL 4006 [Traffic purple] |
#AA02FF Grayscale Equivalents
| Average | #8E8E8E |
| Lightness (Desaturation) | #818181 |
| Weighted (BT601) | #515151 |
| Luma (BT709) | #383838 |
WCAG 2.1 Color Contrast & Accessibility
Check how #AA02FF 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 #AA02FF
Sample preview of readable typography on top of #AA02FF.
Black Text on #AA02FF
Sample preview of readable typography on top of #AA02FF.
HTML / CSS Live Previews & Snippets for #AA02FF
Preview #AA02FF in real UI elements and copy ready-to-use CSS rules.
background-color: #AA02FF;
color: #AA02FF;
border: 2px solid #AA02FF;
:root {
--color-primary: #AA02FF;
--color-primary-rgb: 170, 2, 255;
--color-complementary: #57FF02;
}
.btn-accent {
background-color: #AA02FF;
color: #ffffff;
}
Hex #AA02FF Color Palettes
Complementary Palette
The complementary color of #AA02FF is #57FF02. 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 #AA02FF pairs with #2B02FF and #FF02D5, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #AA02FF pairs with #02FF2B and #D5FF02, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #AA02FF uses #02FFAA and #FFAA02, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #AA02FF combines #FFAA02, #57FF02 and #0257FF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #AA02FF pairs with #FF2B02, #57FF02 and #02D5FF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #AA02FF
Tints
Tints are created by mixing #AA02FF with white, producing lighter variations.
Tones
Tones are created by mixing #AA02FF with gray, softening saturation.
Shades
Shades result from mixing #AA02FF with black, creating deeper variations.
Hex #AA02FF in Programming & CSS Frameworks
Copy the exact syntax for #AA02FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #AA02FF |
| Tailwind CSS | bg-[#AA02FF] text-[#AA02FF] |
| Java (AWT) | new Color(170,2,255); |
| Python | Color("#AA02FF") |
| .NET (C#) | Color.FromArgb(255, 170,2,255); |
| Swift / iOS | UIColor(red: 0.67, green: 0.01, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(170, 2, 255) |