Hex Color #B781AE - Custom Color

Color Codes

HEX
#B781AE
RGB
rgb(183, 129, 174)
HSL
hsl(310, 27%, 61%)
CMYK
cmyk(0%, 30%, 5%, 28%)
HSV
hsv(310, 30%, 72%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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