Hex Color #B53AFC - Custom Color
Color Codes
HEX
#B53AFC
RGB
rgb(181, 58, 252)
HSL
hsl(278, 97%, 61%)
CMYK
cmyk(28%, 77%, 0%, 1%)
HSV
hsv(278, 77%, 99%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.22:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.98: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: #B53AFC;
color: #B53AFC;
border-color: #B53AFC;
}
Tailwind CSS (with arbitrary values)
bg-[#B53AFC]
text-[#B53AFC]
border-[#B53AFC]
// Example usage:
<div className="bg-[#B53AFC]">