Hex Color #B474DA - Custom Color

Color Codes

HEX
#B474DA
RGB
rgb(180, 116, 218)
HSL
hsl(278, 58%, 65%)
CMYK
cmyk(17%, 47%, 0%, 15%)
HSV
hsv(278, 47%, 85%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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