Hex Color #BB12FC - Custom Color

Color Codes

HEX
#BB12FC
RGB
rgb(187, 18, 252)
HSL
hsl(283, 98%, 53%)
CMYK
cmyk(26%, 93%, 0%, 1%)
HSV
hsv(283, 93%, 99%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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