Hex Color #9D3BEA - Custom Color

Color Codes

HEX
#9D3BEA
RGB
rgb(157, 59, 234)
HSL
hsl(274, 81%, 57%)
CMYK
cmyk(33%, 75%, 0%, 8%)
HSV
hsv(274, 75%, 92%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 4.25:1
Fail - 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: #9D3BEA;
color: #9D3BEA;
border-color: #9D3BEA;
}

Tailwind CSS (with arbitrary values)

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