Hex Color #B50DFD - Custom Color

Color Codes

HEX
#B50DFD
RGB
rgb(181, 13, 253)
HSL
hsl(282, 98%, 52%)
CMYK
cmyk(28%, 95%, 0%, 1%)
HSV
hsv(282, 95%, 99%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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