Hex Color #AF6ADE - Custom Color
Color Codes
HEX
#AF6ADE
RGB
rgb(175, 106, 222)
HSL
hsl(276, 64%, 64%)
CMYK
cmyk(21%, 52%, 0%, 13%)
HSV
hsv(276, 52%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.54:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.94: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: #AF6ADE;
color: #AF6ADE;
border-color: #AF6ADE;
}
Tailwind CSS (with arbitrary values)
bg-[#AF6ADE]
text-[#AF6ADE]
border-[#AF6ADE]
// Example usage:
<div className="bg-[#AF6ADE]">