Hex Color #B538FC - Custom Color

Color Codes

HEX
#B538FC
RGB
rgb(181, 56, 252)
HSL
hsl(278, 97%, 60%)
CMYK
cmyk(28%, 78%, 0%, 1%)
HSV
hsv(278, 78%, 99%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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