Recognised as Colour
#BA28B2
- #BA28B2
- Magenta
- Dark
- Nearest: Medium orchid
#BA28B2 is a magenta with RGB values 186, 40, 178 and HSL 303°, 65%, 44%. It is a dark colour, so white text on it reaches 5.2:1 contrast (AA for normal text). The nearest named colour is Medium orchid.
Colour values
#BA28B2#BA28B2
HEX#BA28B2
RGBrgb(186, 40, 178)
RGB (0–1)0.7294, 0.1569, 0.698
RGB percentages72.9%, 15.7%, 69.8%
HSLhsl(303.3, 64.6%, 44.3%)
HSV / HSBhsv(303.3, 78.5%, 72.9%)
CMYK0%, 78.5%, 4.3%, 27.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer12,200,114
CSS custom property--colour: #BA28B2;
Brightness & contrast
Relative luminance0.15171WCAG 2.x, 0 is black and 1 is white
Perceived brightness122 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.21:1
Contrast with white5.21:1WCAG normal text: AA
Contrast with black4.03:1WCAG normal text: Fail
Greyscale equivalent#515151
Inverted#45D74D
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.21:1WCAG large text: AAA
Contrast with black, large text4.03:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#28BA30
Analogous#7928BA, #BA2869
Triadic#B2BA28, #28B2BA
Split complementary#69BA28, #28BA79
Tetradic#BA7928, #28BA30, #2869BA
Tints, shades & saturation
Channel breakdown
R186
G40
B178
Red186 (72.9%)
Green40 (15.7%)
Blue178 (69.8%)
Hue303.29°
Saturation (HSL)64.6%
Lightness44.31%
Dominant channelRed
Hex per channelR BA · G 28 · B B2
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Also reads as
Ba28B2 (chemical formula)
- Formula
- 3,866.86 g/mol
- 30 atoms
Ba28B2 has a molar mass of 3,866.86 g/mol, made up of 30 atoms across 2 elements: 28 × Ba, 2 × B.
Molar mass
Molar mass3,866.86 g/mol
Total atoms per molecule30
Distinct elements2
Mass of one molecule6.4210721 × 10^-21 g
Molecules per gram1.5573723 × 10^20
Name
NameNot in the name tablea name cannot be worked out from a formula alone: isomers share formulas, and naming depends on bonding the formula does not show
Composition by mass
Ba99.4%
B0.6%
Barium (Ba × 28)3,845.24 g/mol, 99.441%
Boron (B × 2)21.62 g/mol, 0.559%
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page