Hex Color #B985CC - Custom Color
Color Codes
HEX
#B985CC
RGB
rgb(185, 133, 204)
HSL
hsl(284, 41%, 66%)
CMYK
cmyk(9%, 35%, 0%, 20%)
HSV
hsv(284, 35%, 80%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.88:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.29: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: #B985CC;
color: #B985CC;
border-color: #B985CC;
}
Tailwind CSS (with arbitrary values)
bg-[#B985CC]
text-[#B985CC]
border-[#B985CC]
// Example usage:
<div className="bg-[#B985CC]">