What is hex #D245FF 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 82% red, 27% green and 100% blue, resulting in rgb(210, 69, 255) and hsl(285, 100%, 64%).
For print media and manufacturing layout, the CMYK equivalent is (18%, 73%, 0%, 0%).
In the HSV/HSB scale, #D245FF features a hue of 285°, 73% saturation, and 100% brightness.
Hex #D245FF Color Codes & Conversions
| Closest Named Color | Medium Orchid (#BA55D3) |
| Hex Code | #D245FF |
| Hex8 (RGBA Hex) | #D245FFFF |
| RGB (CSS) | rgb(210, 69, 255) |
| RGBA (CSS) | rgba(210, 69, 255, 1) |
| HSL (CSS) | hsl(285, 100%, 64%) |
| HSLA (CSS) | hsla(285, 100%, 64%, 1) |
| HSV / HSB | (285°, 73%, 100%) |
| CMYK Values | (18%, 73%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(66.7% 0.271 316.5) |
| CIE-LAB (D65) | 57.25, 78.96, -66.14 |
| CIE XYZ | 46.75, 25.18, 96.99 |
| Decimal / Binary |
13780479
11010010 01000101 11111111 |
Closest Standards & Equivalents
| Closest Web Safe | #CC33FF |
| Inverse Color | #2DBA00 |
| Complementary Color | #72FF45 |
| Closest Pantone® | Pantone 252 C |
| Closest RAL | RAL 4003 [Heather violet] |
#D245FF Grayscale Equivalents
| Average | #B2B2B2 |
| Lightness (Desaturation) | #A2A2A2 |
| Weighted (BT601) | #848484 |
| Luma (BT709) | #707070 |
WCAG 2.1 Color Contrast & Accessibility
Check how #D245FF 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 #D245FF
Sample preview of readable typography on top of #D245FF.
Black Text on #D245FF
Sample preview of readable typography on top of #D245FF.
HTML / CSS Live Previews & Snippets for #D245FF
Preview #D245FF in real UI elements and copy ready-to-use CSS rules.
background-color: #D245FF;
color: #D245FF;
border: 2px solid #D245FF;
:root {
--color-primary: #D245FF;
--color-primary-rgb: 210, 69, 255;
--color-complementary: #72FF45;
}
.btn-accent {
background-color: #D245FF;
color: #000000;
}
Hex #D245FF Color Palettes
Complementary Palette
The complementary color of #D245FF is #72FF45. 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 #D245FF pairs with #7545FF and #FF45CF, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #D245FF pairs with #45FF75 and #CFFF45, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #D245FF uses #45FFD2 and #FFD245, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #D245FF combines #FFD245, #72FF45 and #4572FF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #D245FF pairs with #FF7545, #72FF45 and #45CFFF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #D245FF
Tints
Tints are created by mixing #D245FF with white, producing lighter variations.
Tones
Tones are created by mixing #D245FF with gray, softening saturation.
Shades
Shades result from mixing #D245FF with black, creating deeper variations.
Hex #D245FF in Programming & CSS Frameworks
Copy the exact syntax for #D245FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #D245FF |
| Tailwind CSS | bg-[#D245FF] text-[#D245FF] |
| Java (AWT) | new Color(210,69,255); |
| Python | Color("#D245FF") |
| .NET (C#) | Color.FromArgb(255, 210,69,255); |
| Swift / iOS | UIColor(red: 0.82, green: 0.27, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(210, 69, 255) |