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