Hex Color #BC27BA - Custom Color

Color Codes

HEX
#BC27BA
RGB
rgb(188, 39, 186)
HSL
hsl(301, 66%, 45%)
CMYK
cmyk(0%, 79%, 1%, 26%)
HSV
hsv(301, 79%, 74%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 4.14:1
Fail - 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: #BC27BA;
color: #BC27BA;
border-color: #BC27BA;
}

Tailwind CSS (with arbitrary values)

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