Hex Color #960DBE - Custom Color

Color Codes

HEX
#960DBE
RGB
rgb(150, 13, 190)
HSL
hsl(286, 87%, 40%)
CMYK
cmyk(21%, 93%, 0%, 25%)
HSV
hsv(286, 93%, 75%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 3.10: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: #960DBE;
color: #960DBE;
border-color: #960DBE;
}

Tailwind CSS (with arbitrary values)

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