Hex Color #B17FDF - Custom Color

Color Codes

HEX
#B17FDF
RGB
rgb(177, 127, 223)
HSL
hsl(271, 60%, 69%)
CMYK
cmyk(21%, 43%, 0%, 13%)
HSV
hsv(271, 43%, 87%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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