What is hex #D045FF color?

 
The hex code #D045FF is closest to the named color Medium Orchid (#BA55D3).
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(208, 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, #D045FF features a hue of 285°, 73% saturation, and 100% brightness.

Hex #D045FF Color Codes & Conversions

Closest Named Color
Medium Orchid (#BA55D3)
Hex Code #D045FF
Hex8 (RGBA Hex) #D045FFFF
RGB (CSS) rgb(208, 69, 255)
RGBA (CSS) rgba(208, 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.4% 0.270 315.9)
CIE-LAB (D65) 56.97, 78.59, -66.61
CIE XYZ 46.19, 24.89, 96.96
Decimal / Binary 13649407
11010000 01000101 11111111

Closest Standards & Equivalents

Closest Web Safe
#CC33FF
Inverse Color
#2FBA00
Complementary Color
#74FF45
Closest Pantone®
Pantone 252 C
Closest RAL
RAL 4003 [Heather violet]

#D045FF Grayscale Equivalents

Average
#B1B1B1
Lightness (Desaturation)
#A2A2A2
Weighted (BT601)
#848484
Luma (BT709)
#707070

WCAG 2.1 Color Contrast & Accessibility

Check how #D045FF 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 #D045FF

Sample preview of readable typography on top of #D045FF.

Contrast Ratio: 3.51:1
AA Fail AAA Fail

Black Text on #D045FF

Sample preview of readable typography on top of #D045FF.

Contrast Ratio: 5.98:1
AA Pass AAA Fail

HTML / CSS Live Previews & Snippets for #D045FF

Preview #D045FF in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #D045FF;
Typography Color Preview
color: #D045FF;
Border & Shadow Preview
border: 2px solid #D045FF;
CSS Custom Properties & Gradient
:root {
  --color-primary: #D045FF;
  --color-primary-rgb: 208, 69, 255;
  --color-complementary: #74FF45;
}
.btn-accent {
  background-color: #D045FF;
  color: #000000;
}

Hex #D045FF Color Palettes

Complementary Palette

The complementary color of #D045FF is #74FF45. 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 #D045FF pairs with #7345FF and #FF45D1, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #D045FF pairs with #45FF73 and #D1FF45, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #D045FF uses #45FFD0 and #FFD045, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #D045FF combines #FFD045, #74FF45 and #4574FF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #D045FF pairs with #FF7345, #74FF45 and #45D1FF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #D045FF

Tints

Tints are created by mixing #D045FF with white, producing lighter variations.

Tones

Tones are created by mixing #D045FF with gray, softening saturation.

Shades

Shades result from mixing #D045FF with black, creating deeper variations.

Hex #D045FF in Programming & CSS Frameworks

Copy the exact syntax for #D045FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #D045FF
Tailwind CSS bg-[#D045FF] text-[#D045FF]
Java (AWT) new Color(208,69,255);
Python Color("#D045FF")
.NET (C#) Color.FromArgb(255, 208,69,255);
Swift / iOS UIColor(red: 0.82, green: 0.27, blue: 1, alpha: 1)
Kotlin / Android Color.rgb(208, 69, 255)