Hex Color #B37CFA - Custom Color
Color Codes
HEX
#B37CFA
RGB
rgb(179, 124, 250)
HSL
hsl(266, 93%, 73%)
CMYK
cmyk(28%, 50%, 0%, 2%)
HSV
hsv(266, 50%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.92:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.18:1
Pass - WCAG AA (Normal Text)
Pass - 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: #B37CFA;
color: #B37CFA;
border-color: #B37CFA;
}
Tailwind CSS (with arbitrary values)
bg-[#B37CFA]
text-[#B37CFA]
border-[#B37CFA]
// Example usage:
<div className="bg-[#B37CFA]">