Hex Color #D18AEB - Custom Color

Color Codes

HEX
#D18AEB
RGB
rgb(209, 138, 235)
HSL
hsl(284, 71%, 73%)
CMYK
cmyk(11%, 41%, 0%, 8%)
HSV
hsv(284, 41%, 92%)
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.55: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: #D18AEB;
color: #D18AEB;
border-color: #D18AEB;
}

Tailwind CSS (with arbitrary values)

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