Hex Color #B0519F - Custom Color

Color Codes

HEX
#B0519F
RGB
rgb(176, 81, 159)
HSL
hsl(311, 38%, 50%)
CMYK
cmyk(0%, 54%, 10%, 31%)
HSV
hsv(311, 54%, 69%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 4.64:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 4.52: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: #B0519F;
color: #B0519F;
border-color: #B0519F;
}

Tailwind CSS (with arbitrary values)

bg-[#B0519F]
text-[#B0519F]
border-[#B0519F]
// Example usage:
<div className="bg-[#B0519F]">