#BB22FF color

#BB22FF is rgb(187, 34, 255) in RGB and hsl(282, 100%, 57%) in HSL. The closest CSS named color is mediumorchid (#ba55d3, ΔE 8.4). Use black text on it (contrast 4.79:1).

#BB22FFmagenta
HEX#BB22FF
Short HEX#B2F
RGBrgb(187, 34, 255)
RGB percentrgb(73.3%, 13.3%, 100%)
HSLhsl(282, 100%, 57%)
HSV / HSBhsv(282, 87%, 100%)
CMYKcmyk(27%, 87%, 0%, 0%)

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

About #BB22FF

#BB22FF is a medium, vivid magenta with a hue angle of 282°. It belongs to the purple family and reads as a balanced color. In the RGB model blue is the strongest channel at 255 (100%) 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#BB22FF
Short HEX#B2F
RGBrgb(187, 34, 255)
RGB percentrgb(73.3%, 13.3%, 100%)
HSLhsl(282, 100%, 57%)
HSV / HSBhsv(282, 87%, 100%)
CMYKcmyk(27%, 87%, 0%, 0%)
CIELAB (D65)lab(50.6 84.8 -77.1)
Decimal12264191
Binary10111011 00100010 11111111

HEX BB 22 FF → 187, 34, 255 (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 #BB22FF

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

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

Relative luminance is 0.1893 (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
#0072ff

Deuteranopia
#007bfb

Tritanopia
#b26399

Achromatopsia
#787878

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 28.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
mediumorchid#ba55d38.4
darkorchid#9932cc8.4
blueviolet#8a2be29.1
darkviolet#9400d310.6

Nearby colors

CSS

.element {
  color: #bb22ff;
  background-color: rgb(187, 34, 255);
  border: 1px solid hsl(282, 100%, 57%);
  box-shadow: 0 2px 8px rgb(187 34 255 / 50%);
}
:root { --brand: #bb22ff; }

Frequently asked questions

What color is #BB22FF?
A medium vivid magenta in the purple family. Closest CSS name: mediumorchid.
What is #BB22FF in RGB?
rgb(187, 34, 255): red 187, green 34, blue 255.
What is the complementary color of #BB22FF?
#66FF22, found by rotating the hue 180°.