Hex Color #BD87BF - Custom Color

Color Codes

HEX
#BD87BF
RGB
rgb(189, 135, 191)
HSL
hsl(298, 30%, 64%)
CMYK
cmyk(1%, 29%, 0%, 25%)
HSV
hsv(298, 29%, 75%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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