What is hex #C045FF color?

 
The hex code #C045FF 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 75% red, 27% green and 100% blue, resulting in rgb(192, 69, 255) and hsl(280, 100%, 64%).
For print media and manufacturing layout, the CMYK equivalent is (25%, 73%, 0%, 0%).
In the HSV/HSB scale, #C045FF features a hue of 280°, 73% saturation, and 100% brightness.

Hex #C045FF Color Codes & Conversions

Closest Named Color
Medium Orchid (#BA55D3)
Hex Code #C045FF
Hex8 (RGBA Hex) #C045FFFF
RGB (CSS) rgb(192, 69, 255)
RGBA (CSS) rgba(192, 69, 255, 1)
HSL (CSS) hsl(280, 100%, 64%)
HSLA (CSS) hsla(280, 100%, 64%, 1)
HSV / HSB (280°, 73%, 100%)
CMYK Values (25%, 73%, 0%, 0%)
OKLCH (Modern CSS) oklch(64.4% 0.265 311.3)
CIE-LAB (D65) 54.75, 75.64, -70.31
CIE XYZ 41.91, 22.68, 96.76
Decimal / Binary 12600831
11000000 01000101 11111111

Closest Standards & Equivalents

Closest Web Safe
#CC33FF
Inverse Color
#3FBA00
Complementary Color
#84FF45
Closest Pantone®
Pantone 2582 C
Closest RAL
RAL 4003 [Heather violet]

#C045FF Grayscale Equivalents

Average
#ACACAC
Lightness (Desaturation)
#A2A2A2
Weighted (BT601)
#7F7F7F
Luma (BT709)
#6D6D6D

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #C045FF.

Contrast Ratio: 3.79:1
AA Fail AAA Fail

Black Text on #C045FF

Sample preview of readable typography on top of #C045FF.

Contrast Ratio: 5.54:1
AA Pass AAA Fail

HTML / CSS Live Previews & Snippets for #C045FF

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

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

Hex #C045FF Color Palettes

Complementary Palette

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

Split-Complementary Palette

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

Triadic Palette

The triadic color scheme of #C045FF uses #45FFC0 and #FFC045, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #C045FF combines #FFC045, #84FF45 and #4584FF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #C045FF pairs with #FF6345, #84FF45 and #45E1FF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #C045FF

Tints

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

Tones

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

Shades

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

Hex #C045FF in Programming & CSS Frameworks

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

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