Hex Color #B89BF4 - Custom Color

Color Codes

HEX
#B89BF4
RGB
rgb(184, 155, 244)
HSL
hsl(260, 80%, 78%)
CMYK
cmyk(25%, 36%, 0%, 4%)
HSV
hsv(260, 36%, 96%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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