Hex Color #8F306E - Custom Color

Color Codes

HEX
#8F306E
RGB
rgb(143, 48, 110)
HSL
hsl(321, 50%, 37%)
CMYK
cmyk(0%, 66%, 23%, 44%)
HSV
hsv(321, 66%, 56%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 7.46:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 2.82: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: #8F306E;
color: #8F306E;
border-color: #8F306E;
}

Tailwind CSS (with arbitrary values)

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