Hex Color #B56BEB - Custom Color
Color Codes
HEX
#B56BEB
RGB
rgb(181, 107, 235)
HSL
hsl(275, 76%, 67%)
CMYK
cmyk(23%, 54%, 0%, 8%)
HSV
hsv(275, 54%, 92%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.35:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.27: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: #B56BEB;
color: #B56BEB;
border-color: #B56BEB;
}
Tailwind CSS (with arbitrary values)
bg-[#B56BEB]
text-[#B56BEB]
border-[#B56BEB]
// Example usage:
<div className="bg-[#B56BEB]">