Hex Color #CB4FEE - Custom Color
Color Codes
HEX
#CB4FEE
RGB
rgb(203, 79, 238)
HSL
hsl(287, 82%, 62%)
CMYK
cmyk(15%, 67%, 0%, 7%)
HSV
hsv(287, 67%, 93%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.56:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.89: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: #CB4FEE;
color: #CB4FEE;
border-color: #CB4FEE;
}
Tailwind CSS (with arbitrary values)
bg-[#CB4FEE]
text-[#CB4FEE]
border-[#CB4FEE]
// Example usage:
<div className="bg-[#CB4FEE]">