Hex Color #B66EBA - Custom Color
Color Codes
HEX
#B66EBA
RGB
rgb(182, 110, 186)
HSL
hsl(297, 36%, 58%)
CMYK
cmyk(2%, 41%, 0%, 27%)
HSV
hsv(297, 41%, 73%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.54:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.93: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: #B66EBA;
color: #B66EBA;
border-color: #B66EBA;
}
Tailwind CSS (with arbitrary values)
bg-[#B66EBA]
text-[#B66EBA]
border-[#B66EBA]
// Example usage:
<div className="bg-[#B66EBA]">