Hex Color #D281EE - Custom Color

Color Codes

HEX
#D281EE
RGB
rgb(210, 129, 238)
HSL
hsl(285, 76%, 72%)
CMYK
cmyk(12%, 46%, 0%, 7%)
HSV
hsv(285, 46%, 93%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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