Hex Color #B721DA - Custom Color
Color Codes
HEX
#B721DA
RGB
rgb(183, 33, 218)
HSL
hsl(289, 74%, 49%)
CMYK
cmyk(16%, 85%, 0%, 15%)
HSV
hsv(289, 85%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.95:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.24: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: #B721DA;
color: #B721DA;
border-color: #B721DA;
}
Tailwind CSS (with arbitrary values)
bg-[#B721DA]
text-[#B721DA]
border-[#B721DA]
// Example usage:
<div className="bg-[#B721DA]">