Hex Color #962894 - Custom Color

Color Codes

HEX
#962894
RGB
rgb(150, 40, 148)
HSL
hsl(301, 58%, 37%)
CMYK
cmyk(0%, 73%, 1%, 41%)
HSV
hsv(301, 73%, 59%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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