Hex Color #AB3EDB - Custom Color

Color Codes

HEX
#AB3EDB
RGB
rgb(171, 62, 219)
HSL
hsl(282, 69%, 55%)
CMYK
cmyk(22%, 72%, 0%, 14%)
HSV
hsv(282, 72%, 86%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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