Hex Color #89167F - Custom Color

Color Codes

HEX
#89167F
RGB
rgb(137, 22, 127)
HSL
hsl(305, 72%, 31%)
CMYK
cmyk(0%, 84%, 7%, 46%)
HSV
hsv(305, 84%, 54%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 2.48: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: #89167F;
color: #89167F;
border-color: #89167F;
}

Tailwind CSS (with arbitrary values)

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