Hex Color #8906BD - Custom Color

Color Codes

HEX
#8906BD
RGB
rgb(137, 6, 189)
HSL
hsl(283, 94%, 38%)
CMYK
cmyk(28%, 97%, 0%, 26%)
HSV
hsv(283, 97%, 74%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 2.82: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: #8906BD;
color: #8906BD;
border-color: #8906BD;
}

Tailwind CSS (with arbitrary values)

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