Hex Color #970BCE - Custom Color

Color Codes

HEX
#970BCE
RGB
rgb(151, 11, 206)
HSL
hsl(283, 90%, 43%)
CMYK
cmyk(27%, 95%, 0%, 19%)
HSV
hsv(283, 95%, 81%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 3.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: #970BCE;
color: #970BCE;
border-color: #970BCE;
}

Tailwind CSS (with arbitrary values)

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