Hex Color #BA93DB - Custom Color

Color Codes

HEX
#BA93DB
RGB
rgb(186, 147, 219)
HSL
hsl(273, 50%, 72%)
CMYK
cmyk(15%, 33%, 0%, 14%)
HSV
hsv(273, 33%, 86%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 8.28:1
Pass - WCAG AA (Normal Text)
Pass - 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: #BA93DB;
color: #BA93DB;
border-color: #BA93DB;
}

Tailwind CSS (with arbitrary values)

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