Hex Color #856DFB - Custom Color
Color Codes
HEX
#856DFB
RGB
rgb(133, 109, 251)
HSL
hsl(250, 95%, 71%)
CMYK
cmyk(47%, 57%, 0%, 2%)
HSV
hsv(250, 57%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.76:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.58: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: #856DFB;
color: #856DFB;
border-color: #856DFB;
}
Tailwind CSS (with arbitrary values)
bg-[#856DFB]
text-[#856DFB]
border-[#856DFB]
// Example usage:
<div className="bg-[#856DFB]">