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