Hex Color #824871 - Custom Color

Color Codes

HEX
#824871
RGB
rgb(130, 72, 113)
HSL
hsl(318, 29%, 40%)
CMYK
cmyk(0%, 45%, 13%, 49%)
HSV
hsv(318, 45%, 51%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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