Hex Color #B748AA - Custom Color

Color Codes

HEX
#B748AA
RGB
rgb(183, 72, 170)
HSL
hsl(307, 44%, 50%)
CMYK
cmyk(0%, 61%, 7%, 28%)
HSV
hsv(307, 61%, 72%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 4.52:1
Pass - 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: #B748AA;
color: #B748AA;
border-color: #B748AA;
}

Tailwind CSS (with arbitrary values)

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