#9900CC color

#9900CC is rgb(153, 0, 204) in RGB and hsl(285, 100%, 40%) in HSL. The closest CSS named color is darkviolet (#9400d3, ΔE 1.4). Use white text on it (contrast 6.51:1).

#9900CCmagenta
HEX#9900CC
Short HEX#90C
RGBrgb(153, 0, 204)
RGB percentrgb(60%, 0%, 80%)
HSLhsl(285, 100%, 40%)
HSV / HSBhsv(285, 100%, 80%)
CMYKcmyk(25%, 100%, 0%, 20%)

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

About #9900CC

#9900CC is a medium-dark, vivid magenta with a hue angle of 285°. It belongs to the purple family and reads as a balanced color. In the RGB model blue is the strongest channel at 204 (80%) 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#9900CC
Short HEX#90C
RGBrgb(153, 0, 204)
RGB percentrgb(60%, 0%, 80%)
HSLhsl(285, 100%, 40%)
HSV / HSBhsv(285, 100%, 80%)
CMYKcmyk(25%, 100%, 0%, 20%)
CIELAB (D65)lab(39.8 75.6 -65.9)
Decimal10027212
Binary10011001 00000000 11001100

HEX 99 00 CC → 153, 0, 204 (each pair is a base-16 number: 9×16 + 9 = 153)

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 #9900CC

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #9900CCRatioAA normalAA largeAAA normalAAA large
White text6.51:1PassPassFailPass
Black text3.23:1FailPassFailFail
White text on #9900CC
Black text on #9900CC
#9900CC text on white
#9900CC text on black

Relative luminance is 0.1113 (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
#0057d0

Deuteranopia
#0060c9

Tritanopia
#934877

Achromatopsia
#5e5e5e

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 26.3). 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
darkviolet#9400d31.4
darkorchid#9932cc4
blueviolet#8a2be25
darkmagenta#8b008b10

Nearby colors

CSS

.element {
  color: #9900cc;
  background-color: rgb(153, 0, 204);
  border: 1px solid hsl(285, 100%, 40%);
  box-shadow: 0 2px 8px rgb(153 0 204 / 50%);
}
:root { --brand: #9900cc; }

Frequently asked questions

What color is #9900CC?
A medium-dark vivid magenta in the purple family. Closest CSS name: darkviolet.
What is #9900CC in RGB?
rgb(153, 0, 204): red 153, green 0, blue 204.
What is the complementary color of #9900CC?
#33CC00, found by rotating the hue 180°.