#BB22DD color

#BB22DD is rgb(187, 34, 221) in RGB and hsl(289, 73%, 50%) in HSL. The closest CSS named color is darkorchid (#9932cc, ΔE 5.9). Use white text on it (contrast 4.79:1).

#BB22DDmagenta
HEX#BB22DD
Short HEX#B2D
RGBrgb(187, 34, 221)
RGB percentrgb(73.3%, 13.3%, 86.7%)
HSLhsl(289, 73%, 50%)
HSV / HSBhsv(289, 85%, 87%)
CMYKcmyk(15%, 85%, 0%, 13%)

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

About #BB22DD

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

Color conversions

HEX#BB22DD
Short HEX#B2D
RGBrgb(187, 34, 221)
RGB percentrgb(73.3%, 13.3%, 86.7%)
HSLhsl(289, 73%, 50%)
HSV / HSBhsv(289, 85%, 87%)
CMYKcmyk(15%, 85%, 0%, 13%)
CIELAB (D65)lab(48.2 78.7 -61.9)
Decimal12264157
Binary10111011 00100010 11011101

HEX BB 22 DD → 187, 34, 221 (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 #BB22DD

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #BB22DDRatioAA normalAA largeAAA normalAAA large
White text4.79:1PassPassFailPass
Black text4.39:1FailPassFailFail
White text on #BB22DD
Black text on #BB22DD
#BB22DD text on white
#BB22DD text on black

Relative luminance is 0.1693 (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
#0069e2

Deuteranopia
#3277d9

Tritanopia
#ba5185

Achromatopsia
#727272

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

Nearby colors

CSS

.element {
  color: #bb22dd;
  background-color: rgb(187, 34, 221);
  border: 1px solid hsl(289, 73%, 50%);
  box-shadow: 0 2px 8px rgb(187 34 221 / 50%);
}
:root { --brand: #bb22dd; }

Frequently asked questions

What color is #BB22DD?
A medium saturated magenta in the purple family. Closest CSS name: darkorchid.
What is #BB22DD in RGB?
rgb(187, 34, 221): red 187, green 34, blue 221.
What is the complementary color of #BB22DD?
#44DD22, found by rotating the hue 180°.