#CC22EE color

#CC22EE is rgb(204, 34, 238) in RGB and hsl(290, 86%, 53%) in HSL. The closest CSS named color is mediumorchid (#ba55d3, ΔE 6.3). Use black text on it (contrast 5.03:1).

#CC22EEmagenta
HEX#CC22EE
Short HEX#C2E
RGBrgb(204, 34, 238)
RGB percentrgb(80%, 13.3%, 93.3%)
HSLhsl(290, 86%, 53%)
HSV / HSBhsv(290, 86%, 93%)
CMYKcmyk(14%, 86%, 0%, 7%)

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

About #CC22EE

#CC22EE is a medium, vivid magenta with a hue angle of 290°. 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 34 (13%). Colors like this are typically used for buttons, links, badges and other accents that need to stand out.

Color conversions

HEX#CC22EE
Short HEX#C2E
RGBrgb(204, 34, 238)
RGB percentrgb(80%, 13.3%, 93.3%)
HSLhsl(290, 86%, 53%)
HSV / HSBhsv(290, 86%, 93%)
CMYKcmyk(14%, 86%, 0%, 7%)
CIELAB (D65)lab(52 84.3 -65.1)
Decimal13378286
Binary11001100 00100010 11101110

HEX CC 22 EE → 204, 34, 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 #CC22EE

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #CC22EERatioAA normalAA largeAAA normalAAA large
White text4.17:1FailPassFailFail
Black text5.03:1PassPassFailPass
White text on #CC22EE
Black text on #CC22EE
#CC22EE text on white
#CC22EE text on black

Relative luminance is 0.2015 (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
#0071f3

Deuteranopia
#3981ea

Tritanopia
#cc568f

Achromatopsia
#7c7c7c

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

Nearby colors

CSS

.element {
  color: #cc22ee;
  background-color: rgb(204, 34, 238);
  border: 1px solid hsl(290, 86%, 53%);
  box-shadow: 0 2px 8px rgb(204 34 238 / 50%);
}
:root { --brand: #cc22ee; }

Frequently asked questions

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