Hex Color #8862CC - Custom Color

Color Codes

HEX
#8862CC
RGB
rgb(136, 98, 204)
HSL
hsl(262, 51%, 59%)
CMYK
cmyk(33%, 52%, 0%, 20%)
HSV
hsv(262, 52%, 80%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 4.67: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: #8862CC;
color: #8862CC;
border-color: #8862CC;
}

Tailwind CSS (with arbitrary values)

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