Hex Color #DCBBF6 - Custom Color
Color Codes
HEX
#DCBBF6
RGB
rgb(220, 187, 246)
HSL
hsl(274, 77%, 85%)
CMYK
cmyk(11%, 24%, 0%, 4%)
HSV
hsv(274, 24%, 96%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.68:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 12.48:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use black text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #DCBBF6;
color: #DCBBF6;
border-color: #DCBBF6;
}
Tailwind CSS (with arbitrary values)
bg-[#DCBBF6]
text-[#DCBBF6]
border-[#DCBBF6]
// Example usage:
<div className="bg-[#DCBBF6]">