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.
- It can be written in 3-digit shorthand as
#b2c.
Color conversions
| HEX | #BB22CC |
|---|---|
| Short HEX | #B2C |
| RGB | rgb(187, 34, 204) |
| RGB percent | rgb(73.3%, 13.3%, 80%) |
| HSL | hsl(294, 71%, 47%) |
| HSV / HSB | hsv(294, 83%, 80%) |
| CMYK | cmyk(8%, 83%, 0%, 20%) |
| CIELAB (D65) | lab(47.1 75.9 -53.9) |
| Decimal | 12264140 |
| Binary | 10111011 00100010 11001100 |
HEX BB 22 CC → 187, 34, 204 (each pair is a base-16 number: B×16 + B = 187)
Color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
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 #BB22CC | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 4.98:1 | Pass | Pass | Fail | Pass |
| Black text | 4.21:1 | Fail | Pass | Fail | Fail |
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
| Name | HEX | ΔE 2000 |
|---|---|---|
| darkorchid | #9932cc | 6 |
| mediumorchid | #ba55d3 | 7.8 |
| darkviolet | #9400d3 | 8.8 |
| blueviolet | #8a2be2 | 9.6 |
Nearby colors
#cc22ccless red
#aa22ccmore green
#bb33ccless green
#bb11ccmore blue
#bb22ddless blue
#bb22bblighter
#cc33dddarker
#aa11bb
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; }