Hex Color #B801FA - Custom Color

Color Codes

HEX
#B801FA
RGB
rgb(184, 1, 250)
HSL
hsl(284, 99%, 49%)
CMYK
cmyk(26%, 100%, 0%, 2%)
HSV
hsv(284, 100%, 98%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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