What is hex #CF45FF color?

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

Hex #CF45FF Color Codes & Conversions

Closest Named Color
Medium Orchid (#BA55D3)
Hex Code #CF45FF
Hex8 (RGBA Hex) #CF45FFFF
RGB (CSS) rgb(207, 69, 255)
RGBA (CSS) rgba(207, 69, 255, 1)
HSL (CSS) hsl(285, 100%, 64%)
HSLA (CSS) hsla(285, 100%, 64%, 1)
HSV / HSB (285°, 73%, 100%)
CMYK Values (19%, 73%, 0%, 0%)
OKLCH (Modern CSS) oklch(66.3% 0.269 315.6)
CIE-LAB (D65) 56.82, 78.40, -66.85
CIE XYZ 45.91, 24.74, 96.95
Decimal / Binary 13583871
11001111 01000101 11111111

Closest Standards & Equivalents

Closest Web Safe
#CC33FF
Inverse Color
#30BA00
Complementary Color
#75FF45
Closest Pantone®
Pantone 252 C
Closest RAL
RAL 4003 [Heather violet]

#CF45FF Grayscale Equivalents

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

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #CF45FF.

Contrast Ratio: 3.53:1
AA Fail AAA Fail

Black Text on #CF45FF

Sample preview of readable typography on top of #CF45FF.

Contrast Ratio: 5.95:1
AA Pass AAA Fail

HTML / CSS Live Previews & Snippets for #CF45FF

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

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

Hex #CF45FF Color Palettes

Complementary Palette

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

Split-Complementary Palette

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

Triadic Palette

The triadic color scheme of #CF45FF uses #45FFCF and #FFCF45, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #CF45FF combines #FFCF45, #75FF45 and #4575FF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #CF45FF pairs with #FF7245, #75FF45 and #45D2FF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #CF45FF

Tints

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

Tones

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

Shades

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

Hex #CF45FF in Programming & CSS Frameworks

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

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