Hex Color #B50CFA - Custom Color

Color Codes

HEX
#B50CFA
RGB
rgb(181, 12, 250)
HSL
hsl(283, 96%, 51%)
CMYK
cmyk(28%, 95%, 0%, 2%)
HSV
hsv(283, 95%, 98%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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