#CC00EE color

#CC00EE is rgb(204, 0, 238) in RGB and hsl(291, 100%, 47%) in HSL. The closest CSS named color is mediumorchid (#ba55d3, ΔE 7.4). Use black text on it (contrast 4.80:1).

#CC00EEmagenta
HEX#CC00EE
Short HEX#C0E
RGBrgb(204, 0, 238)
RGB percentrgb(80%, 0%, 93.3%)
HSLhsl(291, 100%, 47%)
HSV / HSBhsv(291, 100%, 93%)
CMYKcmyk(14%, 100%, 0%, 7%)

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

About #CC00EE

#CC00EE is a medium, vivid magenta with a hue angle of 291°. It belongs to the pink & magenta family and reads as a balanced color. In the RGB model blue is the strongest channel at 238 (93%) 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#CC00EE
Short HEX#C0E
RGBrgb(204, 0, 238)
RGB percentrgb(80%, 0%, 93.3%)
HSLhsl(291, 100%, 47%)
HSV / HSBhsv(291, 100%, 93%)
CMYKcmyk(14%, 100%, 0%, 7%)
CIELAB (D65)lab(50.7 88.2 -67.3)
Decimal13369582
Binary11001100 00000000 11101110

HEX CC 00 EE → 204, 0, 238 (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 #CC00EE

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #CC00EERatioAA normalAA largeAAA normalAAA large
White text4.37:1FailPassFailFail
Black text4.80:1PassPassFailPass
White text on #CC00EE
Black text on #CC00EE
#CC00EE text on white
#CC00EE text on black

Relative luminance is 0.1901 (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
#006df3

Deuteranopia
#2e7eea

Tritanopia
#cc4f8c

Achromatopsia
#797979

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 32.6). 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#9932cc9
magenta#ff00ff9.8
blueviolet#8a2be211

Nearby colors

CSS

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

Frequently asked questions

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