Hex Color #AC6CBE - Custom Color
Color Codes
HEX
#AC6CBE
RGB
rgb(172, 108, 190)
HSL
hsl(287, 39%, 58%)
CMYK
cmyk(9%, 43%, 0%, 25%)
HSV
hsv(287, 43%, 75%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.72:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.64: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: #AC6CBE;
color: #AC6CBE;
border-color: #AC6CBE;
}
Tailwind CSS (with arbitrary values)
bg-[#AC6CBE]
text-[#AC6CBE]
border-[#AC6CBE]
// Example usage:
<div className="bg-[#AC6CBE]">