Hex Color #814784 - Custom Color

Color Codes

HEX
#814784
RGB
rgb(129, 71, 132)
HSL
hsl(297, 30%, 40%)
CMYK
cmyk(2%, 46%, 0%, 48%)
HSV
hsv(297, 46%, 52%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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