Hex Color #BA66CD - Custom Color

Color Codes

HEX
#BA66CD
RGB
rgb(186, 102, 205)
HSL
hsl(289, 51%, 60%)
CMYK
cmyk(9%, 50%, 0%, 20%)
HSV
hsv(289, 50%, 80%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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