Hex Color #867DBA - Custom Color

Color Codes

HEX
#867DBA
RGB
rgb(134, 125, 186)
HSL
hsl(249, 31%, 61%)
CMYK
cmyk(28%, 33%, 0%, 27%)
HSV
hsv(249, 33%, 73%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 5.66: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: #867DBA;
color: #867DBA;
border-color: #867DBA;
}

Tailwind CSS (with arbitrary values)

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