Hex Color #8971DF - Custom Color
Color Codes
HEX
#8971DF
RGB
rgb(137, 113, 223)
HSL
hsl(253, 63%, 66%)
CMYK
cmyk(39%, 49%, 0%, 13%)
HSV
hsv(253, 49%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.82:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.49: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: #8971DF;
color: #8971DF;
border-color: #8971DF;
}
Tailwind CSS (with arbitrary values)
bg-[#8971DF]
text-[#8971DF]
border-[#8971DF]
// Example usage:
<div className="bg-[#8971DF]">