Hex Color #A608DF - Custom Color
Color Codes
HEX
#A608DF
RGB
rgb(166, 8, 223)
HSL
hsl(284, 93%, 45%)
CMYK
cmyk(26%, 96%, 0%, 13%)
HSV
hsv(284, 96%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.64:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.72: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: #A608DF;
color: #A608DF;
border-color: #A608DF;
}
Tailwind CSS (with arbitrary values)
bg-[#A608DF]
text-[#A608DF]
border-[#A608DF]
// Example usage:
<div className="bg-[#A608DF]">