Hex Color #BA9DCE - Custom Color

Color Codes

HEX
#BA9DCE
RGB
rgb(186, 157, 206)
HSL
hsl(276, 33%, 71%)
CMYK
cmyk(10%, 24%, 0%, 19%)
HSV
hsv(276, 24%, 81%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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