Hex Color #AB5FBD - Custom Color

Color Codes

HEX
#AB5FBD
RGB
rgb(171, 95, 189)
HSL
hsl(289, 42%, 56%)
CMYK
cmyk(10%, 50%, 0%, 26%)
HSV
hsv(289, 50%, 74%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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