Hex Color #DB5CEB - Custom Color
Color Codes
HEX
#DB5CEB
RGB
rgb(219, 92, 235)
HSL
hsl(293, 78%, 64%)
CMYK
cmyk(7%, 61%, 0%, 8%)
HSV
hsv(293, 61%, 92%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.11:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.74: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: #DB5CEB;
color: #DB5CEB;
border-color: #DB5CEB;
}
Tailwind CSS (with arbitrary values)
bg-[#DB5CEB]
text-[#DB5CEB]
border-[#DB5CEB]
// Example usage:
<div className="bg-[#DB5CEB]">