Hex Color #9737CB - Custom Color
Color Codes
HEX
#9737CB
RGB
rgb(151, 55, 203)
HSL
hsl(279, 59%, 51%)
CMYK
cmyk(26%, 73%, 0%, 20%)
HSV
hsv(279, 73%, 80%)
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: #9737CB;
color: #9737CB;
border-color: #9737CB;
}
Tailwind CSS (with arbitrary values)
bg-[#9737CB]
text-[#9737CB]
border-[#9737CB]
// Example usage:
<div className="bg-[#9737CB]">