Hex Color #B4219E - Custom Color

Color Codes

HEX
#B4219E
RGB
rgb(180, 33, 158)
HSL
hsl(309, 69%, 42%)
CMYK
cmyk(0%, 82%, 12%, 29%)
HSV
hsv(309, 82%, 71%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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