Hex Color #984AEB - Custom Color
Color Codes
HEX
#984AEB
RGB
rgb(152, 74, 235)
HSL
hsl(269, 80%, 61%)
CMYK
cmyk(35%, 69%, 0%, 8%)
HSV
hsv(269, 69%, 92%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.65:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.51: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: #984AEB;
color: #984AEB;
border-color: #984AEB;
}
Tailwind CSS (with arbitrary values)
bg-[#984AEB]
text-[#984AEB]
border-[#984AEB]
// Example usage:
<div className="bg-[#984AEB]">