Hex Color #B7399D - Custom Color

Color Codes

HEX
#B7399D
RGB
rgb(183, 57, 157)
HSL
hsl(312, 53%, 47%)
CMYK
cmyk(0%, 69%, 14%, 28%)
HSV
hsv(312, 69%, 72%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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