Hex Color #B582EE - Custom Color
Color Codes
HEX
#B582EE
RGB
rgb(181, 130, 238)
HSL
hsl(268, 76%, 72%)
CMYK
cmyk(24%, 45%, 0%, 7%)
HSV
hsv(268, 45%, 93%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.84:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.39: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: #B582EE;
color: #B582EE;
border-color: #B582EE;
}
Tailwind CSS (with arbitrary values)
bg-[#B582EE]
text-[#B582EE]
border-[#B582EE]
// Example usage:
<div className="bg-[#B582EE]">