Hex Color #AC16FA - Custom Color
Color Codes
HEX
#AC16FA
RGB
rgb(172, 22, 250)
HSL
hsl(279, 96%, 53%)
CMYK
cmyk(31%, 91%, 0%, 2%)
HSV
hsv(279, 91%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.94:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.25: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: #AC16FA;
color: #AC16FA;
border-color: #AC16FA;
}
Tailwind CSS (with arbitrary values)
bg-[#AC16FA]
text-[#AC16FA]
border-[#AC16FA]
// Example usage:
<div className="bg-[#AC16FA]">