Hex Color #9700EF - Custom Color

Color Codes

HEX
#9700EF
RGB
rgb(151, 0, 239)
HSL
hsl(278, 100%, 47%)
CMYK
cmyk(37%, 100%, 0%, 6%)
HSV
hsv(278, 100%, 94%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 3.56: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: #9700EF;
color: #9700EF;
border-color: #9700EF;
}

Tailwind CSS (with arbitrary values)

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