Hex Color #B538DD - Custom Color

Color Codes

HEX
#B538DD
RGB
rgb(181, 56, 221)
HSL
hsl(285, 71%, 54%)
CMYK
cmyk(18%, 75%, 0%, 13%)
HSV
hsv(285, 75%, 87%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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