Hex Color #8754EA - Custom Color
Color Codes
HEX
#8754EA
RGB
rgb(135, 84, 234)
HSL
hsl(260, 78%, 62%)
CMYK
cmyk(42%, 64%, 0%, 8%)
HSV
hsv(260, 64%, 92%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.68:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.49: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: #8754EA;
color: #8754EA;
border-color: #8754EA;
}
Tailwind CSS (with arbitrary values)
bg-[#8754EA]
text-[#8754EA]
border-[#8754EA]
// Example usage:
<div className="bg-[#8754EA]">