Hex Color #877FF9 - Custom Color

Color Codes

HEX
#877FF9
RGB
rgb(135, 127, 249)
HSL
hsl(244, 91%, 74%)
CMYK
cmyk(46%, 49%, 0%, 2%)
HSV
hsv(244, 49%, 98%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 6.43: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: #877FF9;
color: #877FF9;
border-color: #877FF9;
}

Tailwind CSS (with arbitrary values)

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