Hex Color #B959DD - Custom Color

Color Codes

HEX
#B959DD
RGB
rgb(185, 89, 221)
HSL
hsl(284, 66%, 61%)
CMYK
cmyk(16%, 60%, 0%, 13%)
HSV
hsv(284, 60%, 87%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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