Hex Color #AB56BF - Custom Color

Color Codes

HEX
#AB56BF
RGB
rgb(171, 86, 191)
HSL
hsl(289, 45%, 54%)
CMYK
cmyk(10%, 55%, 0%, 25%)
HSV
hsv(289, 55%, 75%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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