Hex Color #CC8BE0 - Custom Color
Color Codes
HEX
#CC8BE0
RGB
rgb(204, 139, 224)
HSL
hsl(286, 58%, 71%)
CMYK
cmyk(9%, 38%, 0%, 12%)
HSV
hsv(286, 38%, 88%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.52:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 8.34:1
Pass - WCAG AA (Normal Text)
Pass - 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: #CC8BE0;
color: #CC8BE0;
border-color: #CC8BE0;
}
Tailwind CSS (with arbitrary values)
bg-[#CC8BE0]
text-[#CC8BE0]
border-[#CC8BE0]
// Example usage:
<div className="bg-[#CC8BE0]">