What is hex #D403FF 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 83% red, 1% green and 100% blue, resulting in rgb(212, 3, 255) and hsl(290, 100%, 51%).
For print media and manufacturing layout, the CMYK equivalent is (17%, 99%, 0%, 0%).
In the HSV/HSB scale, #D403FF features a hue of 290°, 99% saturation, and 100% brightness.
Hex #D403FF Color Codes & Conversions
| Closest Named Color | Electric Purple (#BF00FF) |
| Hex Code | #D403FF |
| Hex8 (RGBA Hex) | #D403FFFF |
| RGB (CSS) | rgb(212, 3, 255) |
| RGBA (CSS) | rgba(212, 3, 255, 1) |
| HSL (CSS) | hsl(290, 100%, 51%) |
| HSLA (CSS) | hsla(290, 100%, 51%, 1) |
| HSV / HSB | (290°, 99%, 100%) |
| CMYK Values | (17%, 99%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(63.9% 0.308 318.4) |
| CIE-LAB (D65) | 53.26, 91.83, -72.57 |
| CIE XYZ | 45.23, 21.28, 96.31 |
| Decimal / Binary |
13894655
11010100 00000011 11111111 |
WCAG 2.1 Color Contrast & Accessibility
Check how #D403FF 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 #D403FF
Sample preview of readable typography on top of #D403FF.
Black Text on #D403FF
Sample preview of readable typography on top of #D403FF.
HTML / CSS Live Previews & Snippets for #D403FF
Preview #D403FF in real UI elements and copy ready-to-use CSS rules.
background-color: #D403FF;
color: #D403FF;
border: 2px solid #D403FF;
:root {
--color-primary: #D403FF;
--color-primary-rgb: 212, 3, 255;
--color-complementary: #2EFF03;
}
.btn-accent {
background-color: #D403FF;
color: #000000;
}
Hex #D403FF Color Palettes
Complementary Palette
The complementary color of #D403FF is #2EFF03. 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 #D403FF pairs with #5603FF and #FF03AC, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #D403FF pairs with #03FF56 and #ACFF03, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #D403FF uses #03FFD4 and #FFD403, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #D403FF combines #FFD403, #2EFF03 and #032EFF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #D403FF pairs with #FF5603, #2EFF03 and #03ACFF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #D403FF
Tints
Tints are created by mixing #D403FF with white, producing lighter variations.
Tones
Tones are created by mixing #D403FF with gray, softening saturation.
Shades
Shades result from mixing #D403FF with black, creating deeper variations.
Hex #D403FF in Programming & CSS Frameworks
Copy the exact syntax for #D403FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #D403FF |
| Tailwind CSS | bg-[#D403FF] text-[#D403FF] |
| Java (AWT) | new Color(212,3,255); |
| Python | Color("#D403FF") |
| .NET (C#) | Color.FromArgb(255, 212,3,255); |
| Swift / iOS | UIColor(red: 0.83, green: 0.01, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(212, 3, 255) |