#CC00FF color

#CC00FF is rgb(204, 0, 255) in RGB and hsl(288, 100%, 50%) in HSL. The closest CSS named color is mediumorchid (#ba55d3, ΔE 8.1). Use black text on it (contrast 5.01:1).

#CC00FFmagenta
HEX#CC00FF
Short HEX#C0F
RGBrgb(204, 0, 255)
RGB percentrgb(80%, 0%, 100%)
HSLhsl(288, 100%, 50%)
HSV / HSBhsv(288, 100%, 100%)
CMYKcmyk(20%, 100%, 0%, 0%)

Edit in the color converter → · Check contrast → · Shades →

About #CC00FF

#CC00FF is a medium, vivid magenta with a hue angle of 288°. It belongs to the purple family and reads as a balanced color. In the RGB model blue is the strongest channel at 255 (100%) and green the weakest at 0 (0%). Colors like this are typically used for buttons, links, badges and other accents that need to stand out.

Color conversions

HEX#CC00FF
Short HEX#C0F
RGBrgb(204, 0, 255)
RGB percentrgb(80%, 0%, 100%)
HSLhsl(288, 100%, 50%)
HSV / HSBhsv(288, 100%, 100%)
CMYKcmyk(20%, 100%, 0%, 0%)
CIELAB (D65)lab(51.9 91 -74.8)
Decimal13369599
Binary11001100 00000000 11111111

HEX CC 00 FF → 204, 0, 255 (each pair is a base-16 number: C×16 + C = 204)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #CC00FF

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #CC00FFRatioAA normalAA largeAAA normalAAA large
White text4.19:1FailPassFailFail
Black text5.01:1PassPassFailPass
White text on #CC00FF
Black text on #CC00FF
#CC00FF text on white
#CC00FF text on black

Relative luminance is 0.2006 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#0072ff

Deuteranopia
#0080fb

Tritanopia
#c85996

Achromatopsia
#7c7c7c

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 32.2). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
mediumorchid#ba55d38.1
magenta#ff00ff9.4
darkorchid#9932cc10.1
blueviolet#8a2be211.3

Nearby colors

CSS

.element {
  color: #cc00ff;
  background-color: rgb(204, 0, 255);
  border: 1px solid hsl(288, 100%, 50%);
  box-shadow: 0 2px 8px rgb(204 0 255 / 50%);
}
:root { --brand: #cc00ff; }

Frequently asked questions

What color is #CC00FF?
A medium vivid magenta in the purple family. Closest CSS name: mediumorchid.
What is #CC00FF in RGB?
rgb(204, 0, 255): red 204, green 0, blue 255.
What is the complementary color of #CC00FF?
#33FF00, found by rotating the hue 180°.