Hex Color #B897EA - Custom Color

Color Codes

HEX
#B897EA
RGB
rgb(184, 151, 234)
HSL
hsl(264, 66%, 75%)
CMYK
cmyk(21%, 35%, 0%, 8%)
HSV
hsv(264, 35%, 92%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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