Hex Color #993687 - Custom Color
Color Codes
HEX
#993687
RGB
rgb(153, 54, 135)
HSL
hsl(311, 48%, 41%)
CMYK
cmyk(0%, 65%, 12%, 40%)
HSV
hsv(311, 65%, 60%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.50:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.23: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: #993687;
color: #993687;
border-color: #993687;
}
Tailwind CSS (with arbitrary values)
bg-[#993687]
text-[#993687]
border-[#993687]
// Example usage:
<div className="bg-[#993687]">