Hex Color #746FAB - Custom Color
Color Codes
HEX
#746FAB
RGB
rgb(116, 111, 171)
HSL
hsl(245, 26%, 55%)
CMYK
cmyk(32%, 35%, 0%, 33%)
HSV
hsv(245, 35%, 67%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.56:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.60: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: #746FAB;
color: #746FAB;
border-color: #746FAB;
}
Tailwind CSS (with arbitrary values)
bg-[#746FAB]
text-[#746FAB]
border-[#746FAB]
// Example usage:
<div className="bg-[#746FAB]">