Hex Color #B48FFC - Custom Color

Color Codes

HEX
#B48FFC
RGB
rgb(180, 143, 252)
HSL
hsl(260, 95%, 77%)
CMYK
cmyk(29%, 43%, 0%, 1%)
HSV
hsv(260, 43%, 99%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 2.54:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 8.28: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: #B48FFC;
color: #B48FFC;
border-color: #B48FFC;
}

Tailwind CSS (with arbitrary values)

bg-[#B48FFC]
text-[#B48FFC]
border-[#B48FFC]
// Example usage:
<div className="bg-[#B48FFC]">