Hex Color #B299EC - Custom Color

Color Codes

HEX
#B299EC
RGB
rgb(178, 153, 236)
HSL
hsl(258, 69%, 76%)
CMYK
cmyk(25%, 35%, 0%, 7%)
HSV
hsv(258, 35%, 93%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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