Hex Color #B8529E - Custom Color

Color Codes

HEX
#B8529E
RGB
rgb(184, 82, 158)
HSL
hsl(315, 42%, 52%)
CMYK
cmyk(0%, 55%, 14%, 28%)
HSV
hsv(315, 55%, 72%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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