Hex Color #843866 - Custom Color
Color Codes
HEX
#843866
RGB
rgb(132, 56, 102)
HSL
hsl(324, 40%, 37%)
CMYK
cmyk(0%, 58%, 23%, 48%)
HSV
hsv(324, 58%, 52%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 7.67:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.74: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: #843866;
color: #843866;
border-color: #843866;
}
Tailwind CSS (with arbitrary values)
bg-[#843866]
text-[#843866]
border-[#843866]
// Example usage:
<div className="bg-[#843866]">