Hex Color #BE7DEC - Custom Color
Color Codes
HEX
#BE7DEC
RGB
rgb(190, 125, 236)
HSL
hsl(275, 74%, 71%)
CMYK
cmyk(19%, 47%, 0%, 7%)
HSV
hsv(275, 47%, 93%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.86:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.33: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: #BE7DEC;
color: #BE7DEC;
border-color: #BE7DEC;
}
Tailwind CSS (with arbitrary values)
bg-[#BE7DEC]
text-[#BE7DEC]
border-[#BE7DEC]
// Example usage:
<div className="bg-[#BE7DEC]">