Hex Color #98638F - Custom Color
Color Codes
HEX
#98638F
RGB
rgb(152, 99, 143)
HSL
hsl(310, 21%, 49%)
CMYK
cmyk(0%, 35%, 6%, 40%)
HSV
hsv(310, 35%, 60%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.65:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.52: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: #98638F;
color: #98638F;
border-color: #98638F;
}
Tailwind CSS (with arbitrary values)
bg-[#98638F]
text-[#98638F]
border-[#98638F]
// Example usage:
<div className="bg-[#98638F]">