Hex Color #A940BB - Custom Color

Color Codes

HEX
#A940BB
RGB
rgb(169, 64, 187)
HSL
hsl(291, 49%, 49%)
CMYK
cmyk(10%, 66%, 0%, 27%)
HSV
hsv(291, 66%, 73%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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