Hex Color #B38CEF - Custom Color
Color Codes
HEX
#B38CEF
RGB
rgb(179, 140, 239)
HSL
hsl(264, 76%, 74%)
CMYK
cmyk(25%, 41%, 0%, 6%)
HSV
hsv(264, 41%, 94%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.65:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.91: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: #B38CEF;
color: #B38CEF;
border-color: #B38CEF;
}
Tailwind CSS (with arbitrary values)
bg-[#B38CEF]
text-[#B38CEF]
border-[#B38CEF]
// Example usage:
<div className="bg-[#B38CEF]">