Hex Color #BB1FA1 - Custom Color

Color Codes

HEX
#BB1FA1
RGB
rgb(187, 31, 161)
HSL
hsl(310, 72%, 43%)
CMYK
cmyk(0%, 83%, 14%, 27%)
HSV
hsv(310, 83%, 73%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 5.49:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 3.82:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Recommended Text Color

For best readability on this background color, use white text.

Similar Colors

Color in Use

Card with colored border

Background with 20% opacity

CSS Code

.element {
background-color: #BB1FA1;
color: #BB1FA1;
border-color: #BB1FA1;
}

Tailwind CSS (with arbitrary values)

bg-[#BB1FA1]
text-[#BB1FA1]
border-[#BB1FA1]
// Example usage:
<div className="bg-[#BB1FA1]">