Hex Color #8531CE - Custom Color
Color Codes
HEX
#8531CE
RGB
rgb(133, 49, 206)
HSL
hsl(272, 62%, 50%)
CMYK
cmyk(35%, 76%, 0%, 19%)
HSV
hsv(272, 76%, 81%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.31:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.33: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: #8531CE;
color: #8531CE;
border-color: #8531CE;
}
Tailwind CSS (with arbitrary values)
bg-[#8531CE]
text-[#8531CE]
border-[#8531CE]
// Example usage:
<div className="bg-[#8531CE]">