What is hex #D45FDA color?
In professional design frameworks, this hue is considered a balanced and versatile hue. It is ideal for creating smooth color harmony, digital artwork, or minimalist web components.
From a technical standpoint, this color is composed of 83% red, 37% green and 85% blue, resulting in rgb(212, 95, 218) and hsl(297, 62%, 61%).
For print media and manufacturing layout, the CMYK equivalent is (3%, 56%, 0%, 15%).
In the HSV/HSB scale, #D45FDA features a hue of 297°, 56% saturation, and 85% brightness.
Hex #D45FDA Color Codes & Conversions
| Closest Named Color | Orchid (#DA70D6) |
| Hex Code | #D45FDA |
| Hex8 (RGBA Hex) | #D45FDAFF |
| RGB (CSS) | rgb(212, 95, 218) |
| RGBA (CSS) | rgba(212, 95, 218, 1) |
| HSL (CSS) | hsl(297, 62%, 61%) |
| HSLA (CSS) | hsla(297, 62%, 61%, 1) |
| HSV / HSB | (297°, 56%, 85%) |
| CMYK Values | (3%, 56%, 0%, 15%) |
| OKLCH (Modern CSS) | oklch(67.5% 0.207 325.7) |
| CIE-LAB (D65) | 59.20, 62.35, -42.35 |
| CIE XYZ | 43.90, 27.25, 69.26 |
| Decimal / Binary |
13918170
11010100 01011111 11011010 |
Closest Standards & Equivalents
| Closest Web Safe | #CC66CC |
| Inverse Color | #2BA025 |
| Complementary Color | #65DA5F |
| Closest Pantone® | Pantone 252 C |
| Closest RAL | RAL 4003 [Heather violet] |
#D45FDA Grayscale Equivalents
| Average | #AFAFAF |
| Lightness (Desaturation) | #9D9D9D |
| Weighted (BT601) | #909090 |
| Luma (BT709) | #818181 |
WCAG 2.1 Color Contrast & Accessibility
Check how #D45FDA 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 #D45FDA
Sample preview of readable typography on top of #D45FDA.
Black Text on #D45FDA
Sample preview of readable typography on top of #D45FDA.
HTML / CSS Live Previews & Snippets for #D45FDA
Preview #D45FDA in real UI elements and copy ready-to-use CSS rules.
background-color: #D45FDA;
color: #D45FDA;
border: 2px solid #D45FDA;
:root {
--color-primary: #D45FDA;
--color-primary-rgb: 212, 95, 218;
--color-complementary: #65DA5F;
}
.btn-accent {
background-color: #D45FDA;
color: #000000;
}
Hex #D45FDA Color Palettes
Complementary Palette
The complementary color of #D45FDA is #65DA5F. 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 #D45FDA pairs with #965FDA and #DA5FA2, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #D45FDA pairs with #5FDA96 and #A2DA5F, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #D45FDA uses #5FDAD4 and #DAD45F, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #D45FDA combines #DAD45F, #65DA5F and #5F65DA around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #D45FDA pairs with #DA965F, #65DA5F and #5FA2DA spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #D45FDA
Tints
Tints are created by mixing #D45FDA with white, producing lighter variations.
Tones
Tones are created by mixing #D45FDA with gray, softening saturation.
Shades
Shades result from mixing #D45FDA with black, creating deeper variations.
Hex #D45FDA in Programming & CSS Frameworks
Copy the exact syntax for #D45FDA in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #D45FDA |
| Tailwind CSS | bg-[#D45FDA] text-[#D45FDA] |
| Java (AWT) | new Color(212,95,218); |
| Python | Color("#D45FDA") |
| .NET (C#) | Color.FromArgb(255, 212,95,218); |
| Swift / iOS | UIColor(red: 0.83, green: 0.37, blue: 0.85, alpha: 1) |
| Kotlin / Android | Color.rgb(212, 95, 218) |