Hex Color #B40BDA - Custom Color

Color Codes

HEX
#B40BDA
RGB
rgb(180, 11, 218)
HSL
hsl(289, 90%, 45%)
CMYK
cmyk(17%, 95%, 0%, 15%)
HSV
hsv(289, 95%, 85%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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