Hex Color #A54BCD - Custom Color

Color Codes

HEX
#A54BCD
RGB
rgb(165, 75, 205)
HSL
hsl(282, 57%, 55%)
CMYK
cmyk(20%, 63%, 0%, 20%)
HSV
hsv(282, 63%, 80%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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