Hex Color #B87BDA - Custom Color
Color Codes
HEX
#B87BDA
RGB
rgb(184, 123, 218)
HSL
hsl(279, 56%, 67%)
CMYK
cmyk(16%, 44%, 0%, 15%)
HSV
hsv(279, 44%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.05:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.88: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: #B87BDA;
color: #B87BDA;
border-color: #B87BDA;
}
Tailwind CSS (with arbitrary values)
bg-[#B87BDA]
text-[#B87BDA]
border-[#B87BDA]
// Example usage:
<div className="bg-[#B87BDA]">