Hex Color #AC38ED - Custom Color
Color Codes
HEX
#AC38ED
RGB
rgb(172, 56, 237)
HSL
hsl(278, 83%, 57%)
CMYK
cmyk(27%, 76%, 0%, 7%)
HSV
hsv(278, 76%, 93%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.62:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.54: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: #AC38ED;
color: #AC38ED;
border-color: #AC38ED;
}
Tailwind CSS (with arbitrary values)
bg-[#AC38ED]
text-[#AC38ED]
border-[#AC38ED]
// Example usage:
<div className="bg-[#AC38ED]">