Hex Color #9145AF - Custom Color
Color Codes
HEX
#9145AF
RGB
rgb(145, 69, 175)
HSL
hsl(283, 43%, 48%)
CMYK
cmyk(17%, 61%, 0%, 31%)
HSV
hsv(283, 61%, 69%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.72:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.67:1
Fail - 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: #9145AF;
color: #9145AF;
border-color: #9145AF;
}
Tailwind CSS (with arbitrary values)
bg-[#9145AF]
text-[#9145AF]
border-[#9145AF]
// Example usage:
<div className="bg-[#9145AF]">