Hex Color #8662AD - Custom Color
Color Codes
HEX
#8662AD
RGB
rgb(134, 98, 173)
HSL
hsl(269, 31%, 53%)
CMYK
cmyk(23%, 43%, 0%, 32%)
HSV
hsv(269, 43%, 68%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.81:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.36: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: #8662AD;
color: #8662AD;
border-color: #8662AD;
}
Tailwind CSS (with arbitrary values)
bg-[#8662AD]
text-[#8662AD]
border-[#8662AD]
// Example usage:
<div className="bg-[#8662AD]">