Hex Color #AB85D9 - Custom Color

Color Codes

HEX
#AB85D9
RGB
rgb(171, 133, 217)
HSL
hsl(267, 53%, 69%)
CMYK
cmyk(21%, 39%, 0%, 15%)
HSV
hsv(267, 39%, 85%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 7.09:1
Pass - WCAG AA (Normal Text)
Pass - 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: #AB85D9;
color: #AB85D9;
border-color: #AB85D9;
}

Tailwind CSS (with arbitrary values)

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