Hex Color #B25CAC - Custom Color
Color Codes
HEX
#B25CAC
RGB
rgb(178, 92, 172)
HSL
hsl(304, 36%, 53%)
CMYK
cmyk(0%, 48%, 3%, 30%)
HSV
hsv(304, 48%, 70%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.18:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.02: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: #B25CAC;
color: #B25CAC;
border-color: #B25CAC;
}
Tailwind CSS (with arbitrary values)
bg-[#B25CAC]
text-[#B25CAC]
border-[#B25CAC]
// Example usage:
<div className="bg-[#B25CAC]">