#BB22CC color

#BB22CC is rgb(187, 34, 204) in RGB and hsl(294, 71%, 47%) in HSL. The closest CSS named color is darkorchid (#9932cc, ΔE 6). Use white text on it (contrast 4.98:1).

#BB22CCmagenta
HEX#BB22CC
Short HEX#B2C
RGBrgb(187, 34, 204)
RGB percentrgb(73.3%, 13.3%, 80%)
HSLhsl(294, 71%, 47%)
HSV / HSBhsv(294, 83%, 80%)
CMYKcmyk(8%, 83%, 0%, 20%)

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

About #BB22CC

#BB22CC is a medium, saturated magenta with a hue angle of 294°. It belongs to the pink & magenta family and reads as a balanced color. In the RGB model blue is the strongest channel at 204 (80%) and green the weakest at 34 (13%). Colors like this are typically used for illustrations, charts, highlights and secondary buttons.

Color conversions

HEX#BB22CC
Short HEX#B2C
RGBrgb(187, 34, 204)
RGB percentrgb(73.3%, 13.3%, 80%)
HSLhsl(294, 71%, 47%)
HSV / HSBhsv(294, 83%, 80%)
CMYKcmyk(8%, 83%, 0%, 20%)
CIELAB (D65)lab(47.1 75.9 -53.9)
Decimal12264140
Binary10111011 00100010 11001100

HEX BB 22 CC → 187, 34, 204 (each pair is a base-16 number: B×16 + B = 187)

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 #BB22CC

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #BB22CCRatioAA normalAA largeAAA normalAAA large
White text4.98:1PassPassFailPass
Black text4.21:1FailPassFailFail
White text on #BB22CC
Black text on #BB22CC
#BB22CC text on white
#BB22CC text on black

Relative luminance is 0.1607 (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
#0065d0

Deuteranopia
#4475c8

Tritanopia
#be487b

Achromatopsia
#707070

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 30.4). 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
darkorchid#9932cc6
mediumorchid#ba55d37.8
darkviolet#9400d38.8
blueviolet#8a2be29.6

Nearby colors

CSS

.element {
  color: #bb22cc;
  background-color: rgb(187, 34, 204);
  border: 1px solid hsl(294, 71%, 47%);
  box-shadow: 0 2px 8px rgb(187 34 204 / 50%);
}
:root { --brand: #bb22cc; }

Frequently asked questions

What color is #BB22CC?
A medium saturated magenta in the pink & magenta family. Closest CSS name: darkorchid.
What is #BB22CC in RGB?
rgb(187, 34, 204): red 187, green 34, blue 204.
What is the complementary color of #BB22CC?
#33CC22, found by rotating the hue 180°.