Hex Color #BA22F3 - Custom Color

Color Codes

HEX
#BA22F3
RGB
rgb(186, 34, 243)
HSL
hsl(284, 90%, 54%)
CMYK
cmyk(23%, 86%, 0%, 5%)
HSV
hsv(284, 86%, 95%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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