Hex Color #D5B5ED - Custom Color
Color Codes
HEX
#D5B5ED
RGB
rgb(213, 181, 237)
HSL
hsl(274, 61%, 82%)
CMYK
cmyk(10%, 24%, 0%, 7%)
HSV
hsv(274, 24%, 93%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.80:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 11.66: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: #D5B5ED;
color: #D5B5ED;
border-color: #D5B5ED;
}
Tailwind CSS (with arbitrary values)
bg-[#D5B5ED]
text-[#D5B5ED]
border-[#D5B5ED]
// Example usage:
<div className="bg-[#D5B5ED]">