Recognised as Colour
#BA40FF
- #BA40FF
- Violet
- Dark
- Nearest: Blue violet
#BA40FF is a violet with RGB values 186, 64, 255 and HSL 278°, 100%, 63%. It is a dark colour, so black text on it reaches 5.3:1 contrast (AA for normal text). The nearest named colour is Blue violet.
Colour values
#BA40FF#BA40FF
HEX#BA40FF
RGBrgb(186, 64, 255)
RGB (0–1)0.7294, 0.251, 1
RGB percentages72.9%, 25.1%, 100%
HSLhsl(278.3, 100%, 62.5%)
HSV / HSBhsv(278.3, 74.9%, 100%)
CMYK27.1%, 74.9%, 0%, 0%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer12,206,335
CSS custom property--colour: #BA40FF;
Brightness & contrast
Relative luminance0.21326WCAG 2.x, 0 is black and 1 is white
Perceived brightness142 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 5.27:1
Contrast with white3.99:1WCAG normal text: Fail
Contrast with black5.27:1WCAG normal text: AA
Greyscale equivalent#686868
Inverted#45BF00
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text3.99:1WCAG large text: AA
Contrast with black, large text5.27:1WCAG large text: AAA
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#85FF40
Analogous#5A40FF, #FF40E5
Triadic#FFBA40, #40FFBA
Split complementary#E4FF40, #40FF5B
Tetradic#FF5B40, #85FF40, #40E4FF
Tints, shades & saturation
Channel breakdown
R186
G64
B255
Red186 (72.9%)
Green64 (25.1%)
Blue255 (100%)
Hue278.32°
Saturation (HSL)100%
Lightness62.55%
Dominant channelBlue
Hex per channelR BA · G 40 · B FF
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
Ba40FF (chemical formula)
- Formula
- 5,531.196 g/mol
- 42 atoms
Ba40FF has a molar mass of 5,531.196 g/mol, made up of 42 atoms across 2 elements: 40 × Ba, 2 × F.
Molar mass
Molar mass5,531.196 g/mol
Total atoms per molecule42
Distinct elements2
Mass of one molecule9.184767 × 10^-21 g
Molecules per gram1.0887592 × 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.3%
F0.7%
Barium (Ba × 40)5,493.2 g/mol, 99.313%
Fluorine (F × 2)37.996 g/mol, 0.687%
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