Hex Color #B662FA - Custom Color
Color Codes
HEX
#B662FA
RGB
rgb(182, 98, 250)
HSL
hsl(273, 94%, 68%)
CMYK
cmyk(27%, 61%, 0%, 2%)
HSV
hsv(273, 61%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.43:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.12: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: #B662FA;
color: #B662FA;
border-color: #B662FA;
}
Tailwind CSS (with arbitrary values)
bg-[#B662FA]
text-[#B662FA]
border-[#B662FA]
// Example usage:
<div className="bg-[#B662FA]">