Hex Color #CB89FC - Custom Color

Color Codes

HEX
#CB89FC
RGB
rgb(203, 137, 252)
HSL
hsl(274, 95%, 76%)
CMYK
cmyk(19%, 46%, 0%, 1%)
HSV
hsv(274, 46%, 99%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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