Hex Color #BD8CDE - Custom Color
Color Codes
HEX
#BD8CDE
RGB
rgb(189, 140, 222)
HSL
hsl(276, 55%, 71%)
CMYK
cmyk(15%, 37%, 0%, 13%)
HSV
hsv(276, 37%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.63:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.97:1
Pass - WCAG AA (Normal Text)
Pass - 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: #BD8CDE;
color: #BD8CDE;
border-color: #BD8CDE;
}
Tailwind CSS (with arbitrary values)
bg-[#BD8CDE]
text-[#BD8CDE]
border-[#BD8CDE]
// Example usage:
<div className="bg-[#BD8CDE]">