Hex Color #AB3BD4 - Custom Color

Color Codes

HEX
#AB3BD4
RGB
rgb(171, 59, 212)
HSL
hsl(284, 64%, 53%)
CMYK
cmyk(19%, 72%, 0%, 17%)
HSV
hsv(284, 72%, 83%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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