Hex Color #905878 - Custom Color

Color Codes

HEX
#905878
RGB
rgb(144, 88, 120)
HSL
hsl(326, 24%, 45%)
CMYK
cmyk(0%, 39%, 17%, 44%)
HSV
hsv(326, 39%, 56%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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