Hex Color #B258AF - Custom Color

Color Codes

HEX
#B258AF
RGB
rgb(178, 88, 175)
HSL
hsl(302, 37%, 52%)
CMYK
cmyk(0%, 51%, 2%, 30%)
HSV
hsv(302, 51%, 70%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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