Hex Color #CB6EE8 - Custom Color
Color Codes
HEX
#CB6EE8
RGB
rgb(203, 110, 232)
HSL
hsl(286, 73%, 67%)
CMYK
cmyk(13%, 53%, 0%, 9%)
HSV
hsv(286, 53%, 91%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.03:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.93: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: #CB6EE8;
color: #CB6EE8;
border-color: #CB6EE8;
}
Tailwind CSS (with arbitrary values)
bg-[#CB6EE8]
text-[#CB6EE8]
border-[#CB6EE8]
// Example usage:
<div className="bg-[#CB6EE8]">