Hex Color #B254EF - Custom Color
Color Codes
HEX
#B254EF
RGB
rgb(178, 84, 239)
HSL
hsl(276, 83%, 63%)
CMYK
cmyk(26%, 65%, 0%, 6%)
HSV
hsv(276, 65%, 94%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.88:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.41: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: #B254EF;
color: #B254EF;
border-color: #B254EF;
}
Tailwind CSS (with arbitrary values)
bg-[#B254EF]
text-[#B254EF]
border-[#B254EF]
// Example usage:
<div className="bg-[#B254EF]">