Hex Color #B064FB - Custom Color
Color Codes
HEX
#B064FB
RGB
rgb(176, 100, 251)
HSL
hsl(270, 95%, 69%)
CMYK
cmyk(30%, 60%, 0%, 2%)
HSV
hsv(270, 60%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.46:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.06: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: #B064FB;
color: #B064FB;
border-color: #B064FB;
}
Tailwind CSS (with arbitrary values)
bg-[#B064FB]
text-[#B064FB]
border-[#B064FB]
// Example usage:
<div className="bg-[#B064FB]">