Hex Color #B06FEE - Custom Color
Color Codes
HEX
#B06FEE
RGB
rgb(176, 111, 238)
HSL
hsl(271, 79%, 68%)
CMYK
cmyk(26%, 53%, 0%, 7%)
HSV
hsv(271, 53%, 93%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.30:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.35: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: #B06FEE;
color: #B06FEE;
border-color: #B06FEE;
}
Tailwind CSS (with arbitrary values)
bg-[#B06FEE]
text-[#B06FEE]
border-[#B06FEE]
// Example usage:
<div className="bg-[#B06FEE]">