Hex Color #795387 - Custom Color
Color Codes
HEX
#795387
RGB
rgb(121, 83, 135)
HSL
hsl(284, 24%, 43%)
CMYK
cmyk(10%, 39%, 0%, 47%)
HSV
hsv(284, 39%, 53%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.18:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.40:1
Fail - 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: #795387;
color: #795387;
border-color: #795387;
}
Tailwind CSS (with arbitrary values)
bg-[#795387]
text-[#795387]
border-[#795387]
// Example usage:
<div className="bg-[#795387]">