Hex Color #9864EF - Custom Color

Color Codes

HEX
#9864EF
RGB
rgb(152, 100, 239)
HSL
hsl(262, 81%, 66%)
CMYK
cmyk(36%, 58%, 0%, 6%)
HSV
hsv(262, 58%, 94%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 5.40:1
Pass - 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: #9864EF;
color: #9864EF;
border-color: #9864EF;
}

Tailwind CSS (with arbitrary values)

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