Hex Color #A38DB2 - Custom Color
Color Codes
HEX
#A38DB2
RGB
rgb(163, 141, 178)
HSL
hsl(276, 19%, 63%)
CMYK
cmyk(8%, 21%, 0%, 30%)
HSV
hsv(276, 21%, 70%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.00:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.01:1
Pass - WCAG AA (Normal Text)
Pass - 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: #A38DB2;
color: #A38DB2;
border-color: #A38DB2;
}
Tailwind CSS (with arbitrary values)
bg-[#A38DB2]
text-[#A38DB2]
border-[#A38DB2]
// Example usage:
<div className="bg-[#A38DB2]">