Hex Color #A407BF - Custom Color

Color Codes

HEX
#A407BF
RGB
rgb(164, 7, 191)
HSL
hsl(291, 93%, 39%)
CMYK
cmyk(14%, 96%, 0%, 25%)
HSV
hsv(291, 96%, 75%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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