Hex Color #AB32F5 - Custom Color

Color Codes

HEX
#AB32F5
RGB
rgb(171, 50, 245)
HSL
hsl(277, 91%, 58%)
CMYK
cmyk(30%, 80%, 0%, 4%)
HSV
hsv(277, 80%, 96%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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