Hex Color #B666FF - Custom Color
Color Codes
HEX
#B666FF
RGB
rgb(182, 102, 255)
HSL
hsl(271, 100%, 70%)
CMYK
cmyk(29%, 60%, 0%, 0%)
HSV
hsv(271, 60%, 100%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.32:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.33: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: #B666FF;
color: #B666FF;
border-color: #B666FF;
}
Tailwind CSS (with arbitrary values)
bg-[#B666FF]
text-[#B666FF]
border-[#B666FF]
// Example usage:
<div className="bg-[#B666FF]">