Hex Color #AB4DDD - Custom Color

Color Codes

HEX
#AB4DDD
RGB
rgb(171, 77, 221)
HSL
hsl(279, 68%, 58%)
CMYK
cmyk(23%, 65%, 0%, 13%)
HSV
hsv(279, 65%, 87%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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