Hex Color #CB75B1 - Custom Color
Color Codes
HEX
#CB75B1
RGB
rgb(203, 117, 177)
HSL
hsl(318, 45%, 63%)
CMYK
cmyk(0%, 42%, 13%, 20%)
HSV
hsv(318, 42%, 80%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.13:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.72: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: #CB75B1;
color: #CB75B1;
border-color: #CB75B1;
}
Tailwind CSS (with arbitrary values)
bg-[#CB75B1]
text-[#CB75B1]
border-[#CB75B1]
// Example usage:
<div className="bg-[#CB75B1]">