Hex Color #B48CFD - Custom Color
Color Codes
HEX
#B48CFD
RGB
rgb(180, 140, 253)
HSL
hsl(261, 97%, 77%)
CMYK
cmyk(29%, 45%, 0%, 1%)
HSV
hsv(261, 45%, 99%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.59:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 8.11: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: #B48CFD;
color: #B48CFD;
border-color: #B48CFD;
}
Tailwind CSS (with arbitrary values)
bg-[#B48CFD]
text-[#B48CFD]
border-[#B48CFD]
// Example usage:
<div className="bg-[#B48CFD]">