Hex Color #BB31DE - Custom Color
Color Codes
HEX
#BB31DE
RGB
rgb(187, 49, 222)
HSL
hsl(288, 72%, 53%)
CMYK
cmyk(16%, 78%, 0%, 13%)
HSV
hsv(288, 78%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.56:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.61:1
Pass - 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: #BB31DE;
color: #BB31DE;
border-color: #BB31DE;
}
Tailwind CSS (with arbitrary values)
bg-[#BB31DE]
text-[#BB31DE]
border-[#BB31DE]
// Example usage:
<div className="bg-[#BB31DE]">