Hex Color #873BBE - Custom Color

Color Codes

HEX
#873BBE
RGB
rgb(135, 59, 190)
HSL
hsl(275, 53%, 49%)
CMYK
cmyk(29%, 69%, 0%, 25%)
HSV
hsv(275, 69%, 75%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 3.40: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: #873BBE;
color: #873BBE;
border-color: #873BBE;
}

Tailwind CSS (with arbitrary values)

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