Hex Color #90798C - Custom Color
Color Codes
HEX
#90798C
RGB
rgb(144, 121, 140)
HSL
hsl(310, 9%, 52%)
CMYK
cmyk(0%, 16%, 3%, 44%)
HSV
hsv(310, 16%, 56%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.96:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.30: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: #90798C;
color: #90798C;
border-color: #90798C;
}
Tailwind CSS (with arbitrary values)
bg-[#90798C]
text-[#90798C]
border-[#90798C]
// Example usage:
<div className="bg-[#90798C]">