Hex Color #C28ABB - Custom Color

Color Codes

HEX
#C28ABB
RGB
rgb(194, 138, 187)
HSL
hsl(308, 31%, 65%)
CMYK
cmyk(0%, 29%, 4%, 24%)
HSV
hsv(308, 29%, 76%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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