#CC11CC color

#CC11CC is rgb(204, 17, 204) in RGB and hsl(300, 85%, 43%) in HSL. The closest CSS named color is mediumorchid (#ba55d3, ΔE 7.4). Use white text on it (contrast 4.65:1).

#CC11CCmagenta
HEX#CC11CC
Short HEX#C1C
RGBrgb(204, 17, 204)
RGB percentrgb(80%, 6.7%, 80%)
HSLhsl(300, 85%, 43%)
HSV / HSBhsv(300, 92%, 80%)
CMYKcmyk(0%, 92%, 0%, 20%)

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

About #CC11CC

#CC11CC is a medium, vivid magenta with a hue angle of 300°. It belongs to the pink & magenta family and reads as a warm color. In the RGB model red is the strongest channel at 204 (80%) and green the weakest at 17 (7%). Colors like this are typically used for buttons, links, badges and other accents that need to stand out.

Color conversions

HEX#CC11CC
Short HEX#C1C
RGBrgb(204, 17, 204)
RGB percentrgb(80%, 6.7%, 80%)
HSLhsl(300, 85%, 43%)
HSV / HSBhsv(300, 92%, 80%)
CMYKcmyk(0%, 92%, 0%, 20%)
CIELAB (D65)lab(49 81.6 -50.6)
Decimal13373900
Binary11001100 00010001 11001100

HEX CC 11 CC → 204, 17, 204 (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 #CC11CC

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #CC11CCRatioAA normalAA largeAAA normalAAA large
White text4.65:1PassPassFailPass
Black text4.52:1PassPassFailPass
White text on #CC11CC
Black text on #CC11CC
#CC11CC text on white
#CC11CC text on black

Relative luminance is 0.1760 (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
#0066d0

Deuteranopia
#547cc8

Tritanopia
#d33d79

Achromatopsia
#747474

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 32.1). 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#ba55d37.4
darkorchid#9932cc8.9
magenta#ff00ff11.3
darkviolet#9400d311.5

Nearby colors

CSS

.element {
  color: #cc11cc;
  background-color: rgb(204, 17, 204);
  border: 1px solid hsl(300, 85%, 43%);
  box-shadow: 0 2px 8px rgb(204 17 204 / 50%);
}
:root { --brand: #cc11cc; }

Frequently asked questions

What color is #CC11CC?
A medium vivid magenta in the pink & magenta family. Closest CSS name: mediumorchid.
What is #CC11CC in RGB?
rgb(204, 17, 204): red 204, green 17, blue 204.
What is the complementary color of #CC11CC?
#11CC11, found by rotating the hue 180°.