Hex Color #BA16FF - Custom Color

Color Codes

HEX
#BA16FF
RGB
rgb(186, 22, 255)
HSL
hsl(282, 100%, 54%)
CMYK
cmyk(27%, 91%, 0%, 0%)
HSV
hsv(282, 91%, 100%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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