Hex Color #AB86EE - Custom Color

Color Codes

HEX
#AB86EE
RGB
rgb(171, 134, 238)
HSL
hsl(261, 75%, 73%)
CMYK
cmyk(28%, 44%, 0%, 7%)
HSV
hsv(261, 44%, 93%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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