What is hex #DA02FF 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 85% red, 1% green and 100% blue, resulting in rgb(218, 2, 255) and hsl(291, 100%, 50%).
For print media and manufacturing layout, the CMYK equivalent is (15%, 99%, 0%, 0%).
In the HSV/HSB scale, #DA02FF features a hue of 291°, 99% saturation, and 100% brightness.
Hex #DA02FF Color Codes & Conversions
| Closest Named Color | Electric Purple (#BF00FF) |
| Hex Code | #DA02FF |
| Hex8 (RGBA Hex) | #DA02FFFF |
| RGB (CSS) | rgb(218, 2, 255) |
| RGBA (CSS) | rgba(218, 2, 255, 1) |
| HSL (CSS) | hsl(291, 100%, 50%) |
| HSLA (CSS) | hsla(291, 100%, 50%, 1) |
| HSV / HSB | (291°, 99%, 100%) |
| CMYK Values | (15%, 99%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(64.8% 0.310 319.9) |
| CIE-LAB (D65) | 54.21, 92.72, -70.99 |
| CIE XYZ | 46.98, 22.17, 96.39 |
| Decimal / Binary |
14287615
11011010 00000010 11111111 |
Closest Standards & Equivalents
| Closest Web Safe | #CC00FF |
| Inverse Color | #25FD00 |
| Complementary Color | #27FF02 |
| Closest Pantone® | Pantone Rhodamine Red C |
| Closest RAL | RAL 4010 [Telemagenta] |
#DA02FF Grayscale Equivalents
| Average | #9E9E9E |
| Lightness (Desaturation) | #818181 |
| Weighted (BT601) | #5F5F5F |
| Luma (BT709) | #424242 |
WCAG 2.1 Color Contrast & Accessibility
Check how #DA02FF 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 #DA02FF
Sample preview of readable typography on top of #DA02FF.
Black Text on #DA02FF
Sample preview of readable typography on top of #DA02FF.
HTML / CSS Live Previews & Snippets for #DA02FF
Preview #DA02FF in real UI elements and copy ready-to-use CSS rules.
background-color: #DA02FF;
color: #DA02FF;
border: 2px solid #DA02FF;
:root {
--color-primary: #DA02FF;
--color-primary-rgb: 218, 2, 255;
--color-complementary: #27FF02;
}
.btn-accent {
background-color: #DA02FF;
color: #000000;
}
Hex #DA02FF Color Palettes
Complementary Palette
The complementary color of #DA02FF is #27FF02. 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 #DA02FF pairs with #5B02FF and #FF02A5, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #DA02FF pairs with #02FF5B and #A5FF02, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #DA02FF uses #02FFDA and #FFDA02, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #DA02FF combines #FFDA02, #27FF02 and #0227FF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #DA02FF pairs with #FF5B02, #27FF02 and #02A5FF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #DA02FF
Tints
Tints are created by mixing #DA02FF with white, producing lighter variations.
Tones
Tones are created by mixing #DA02FF with gray, softening saturation.
Shades
Shades result from mixing #DA02FF with black, creating deeper variations.
Hex #DA02FF in Programming & CSS Frameworks
Copy the exact syntax for #DA02FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #DA02FF |
| Tailwind CSS | bg-[#DA02FF] text-[#DA02FF] |
| Java (AWT) | new Color(218,2,255); |
| Python | Color("#DA02FF") |
| .NET (C#) | Color.FromArgb(255, 218,2,255); |
| Swift / iOS | UIColor(red: 0.85, green: 0.01, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(218, 2, 255) |