Hex Color #8931AD - Custom Color
Color Codes
HEX
#8931AD
RGB
rgb(137, 49, 173)
HSL
hsl(283, 56%, 44%)
CMYK
cmyk(21%, 72%, 0%, 32%)
HSV
hsv(283, 72%, 68%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.76:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.11: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: #8931AD;
color: #8931AD;
border-color: #8931AD;
}
Tailwind CSS (with arbitrary values)
bg-[#8931AD]
text-[#8931AD]
border-[#8931AD]
// Example usage:
<div className="bg-[#8931AD]">