Hex Color #AB35BF - Custom Color

Color Codes

HEX
#AB35BF
RGB
rgb(171, 53, 191)
HSL
hsl(291, 57%, 48%)
CMYK
cmyk(10%, 72%, 0%, 25%)
HSV
hsv(291, 72%, 75%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 3.99:1
Fail - 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: #AB35BF;
color: #AB35BF;
border-color: #AB35BF;
}

Tailwind CSS (with arbitrary values)

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