Hex Color #968ABE - Custom Color

Color Codes

HEX
#968ABE
RGB
rgb(150, 138, 190)
HSL
hsl(254, 29%, 64%)
CMYK
cmyk(21%, 27%, 0%, 25%)
HSV
hsv(254, 27%, 75%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 6.68: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: #968ABE;
color: #968ABE;
border-color: #968ABE;
}

Tailwind CSS (with arbitrary values)

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