Hex Color #B97CDB - Custom Color
Color Codes
HEX
#B97CDB
RGB
rgb(185, 124, 219)
HSL
hsl(279, 57%, 67%)
CMYK
cmyk(16%, 43%, 0%, 14%)
HSV
hsv(279, 43%, 86%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.01:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.97: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: #B97CDB;
color: #B97CDB;
border-color: #B97CDB;
}
Tailwind CSS (with arbitrary values)
bg-[#B97CDB]
text-[#B97CDB]
border-[#B97CDB]
// Example usage:
<div className="bg-[#B97CDB]">