Hex Color #A23CED - Custom Color
Color Codes
HEX
#A23CED
RGB
rgb(162, 60, 237)
HSL
hsl(275, 83%, 58%)
CMYK
cmyk(32%, 75%, 0%, 7%)
HSV
hsv(275, 75%, 93%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.77:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.41: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: #A23CED;
color: #A23CED;
border-color: #A23CED;
}
Tailwind CSS (with arbitrary values)
bg-[#A23CED]
text-[#A23CED]
border-[#A23CED]
// Example usage:
<div className="bg-[#A23CED]">