Hex Color #BF2DEB - Custom Color

Color Codes

HEX
#BF2DEB
RGB
rgb(191, 45, 235)
HSL
hsl(286, 83%, 55%)
CMYK
cmyk(19%, 81%, 0%, 8%)
HSV
hsv(286, 81%, 92%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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