Hex Color #B134EA - Custom Color
Color Codes
HEX
#B134EA
RGB
rgb(177, 52, 234)
HSL
hsl(281, 81%, 56%)
CMYK
cmyk(24%, 78%, 0%, 8%)
HSV
hsv(281, 78%, 92%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.62:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.55: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: #B134EA;
color: #B134EA;
border-color: #B134EA;
}
Tailwind CSS (with arbitrary values)
bg-[#B134EA]
text-[#B134EA]
border-[#B134EA]
// Example usage:
<div className="bg-[#B134EA]">