Hex Color #B331EC - Custom Color

Color Codes

HEX
#B331EC
RGB
rgb(179, 49, 236)
HSL
hsl(282, 83%, 56%)
CMYK
cmyk(24%, 79%, 0%, 7%)
HSV
hsv(282, 79%, 93%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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